android - list 中未请求应用程序请求权限

标签 android permissions android-manifest

这些是我在 list 中的所有权限:

 <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />

这是我尝试安装 apk 时的样子

enter image description here

您是否偶然知道为什么当应用根本不需要这些东西时它会要求这些东西,而且 list 中也没有提到?

连结 5 (Android 4.4.2)

编辑:完整 list

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="some.name"
    android:versionCode="14"
    android:versionName="0.6.2" >

    <uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="19" />

    <!--
    To filter out tablets and distribute only to handsets up to 7 inches, one cannot directly forbid tablets, but has to list all other
    supported compatible screens, see: http://developer.android.com/guide/practices/screens-distribution.html#FilteringHandsetApps
     -->
    <compatible-screens>
        <!-- all small size screens -->
        <screen android:screenSize="small" android:screenDensity="ldpi" />
        <screen android:screenSize="small" android:screenDensity="mdpi" />
        <screen android:screenSize="small" android:screenDensity="hdpi" />
        <screen android:screenSize="small" android:screenDensity="xhdpi" />
        <screen android:screenSize="small" android:screenDensity="213" />
        <screen android:screenSize="small" android:screenDensity="480" />
        <!-- all normal size screens -->
        <screen android:screenSize="normal" android:screenDensity="ldpi" />
        <screen android:screenSize="normal" android:screenDensity="mdpi" />
        <screen android:screenSize="normal" android:screenDensity="hdpi" />
        <screen android:screenSize="normal" android:screenDensity="xhdpi" />
        <screen android:screenSize="normal" android:screenDensity="213" />
        <screen android:screenSize="normal" android:screenDensity="480" />
        <screen android:screenSize="normal" android:screenDensity="640" />
        <!-- all large size screens -->
        <screen android:screenSize="large" android:screenDensity="ldpi" />
        <screen android:screenSize="large" android:screenDensity="mdpi" />
        <screen android:screenSize="large" android:screenDensity="hdpi" />
        <screen android:screenSize="large" android:screenDensity="xhdpi" />
        <screen android:screenSize="large" android:screenDensity="213" />
        <screen android:screenSize="large" android:screenDensity="480" />
        <screen android:screenSize="large" android:screenDensity="640" />
    </compatible-screens>

    <!-- access backend -->
    <uses-permission android:name="android.permission.INTERNET" />

    <!-- allow to cache images on SD card -->
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <!-- TODO remove for live build - sends email info to crashes in hockey app -->
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />

    <!-- while video playback is running -->
    <uses-permission android:name="android.permission.WAKE_LOCK" />

    <application
        android:name="some.name"
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >

        <activity
            android:name="some.name"
            android:screenOrientation="portrait"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name="some.name"
            android:label="@string/app_name"
            android:windowSoftInputMode="stateAlwaysHidden|adjustPan"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
            android:configChanges="keyboardHidden|orientation|screenSize" />

        <activity
            android:name="some.name"
            android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
            android:label="@string/app_name"
            android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />

        <activity
            android:name="some.name"
            android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
            android:label="@string/app_name"
            android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />

        <activity
            android:name="some.name"
            android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
            android:label="@string/app_name"
            android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />

    </application>

</manifest>

最佳答案

这是因为,您使用了一些库或jar,它们正在使用调用或消息传递的功能。

关于android - list 中未请求应用程序请求权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21279040/

相关文章:

android - 在 webview 中打开 url - phonegap

android - 如何使用android获取id onclick listview

android - 如何将 native react 发布为 apk 文件或 ios 文件?

linux - 无法跟踪其他用户使用 root 创建的符号链接(symbolic link)

Android 计费测试 - 如何与测试用户进行测试?

python - 限制Python文件读写

PHP:将远程文件写入目录,无需 chmod 777

android - 当用户触摸下载链接时允许其他应用启动我的 Activity

java - HttpClient.execute 抛出的未知主机异常

android - 为服务指定 SEND(共享) Intent 过滤器