2014-01-22 100 views
2

這些都是我的清單中的所有權限:應用程序要求的權限沒有要求的清單

<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

一次偶然的機會你知道它爲什麼要求這些應用程序完全不需要這些東西,而且在清單中沒有提到這些東西嗎?

Nexus 5的(是Android 4.4.2)

編輯:完整的清單

<?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> 
+3

也許你的一些庫需要這些權限。 – Blaz

+0

您是否在應用程序中添加了Google Map,Camera,SMS功能? – GrIsHu

+0

你可以發佈你的整個清單嗎? – apmartin1991

回答

0

這是因爲,你已經使用了一些圖書館或罐子,這是使用電話或meesaging的這個特點。

相關問題