不需要的 android 权限
Unwanted android permission
我的应用仅使用以下权限:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
但是当我安装我的应用程序时,它要求未知权限:
modify or delete the contents of your USB storage read the contents of your USB storage
以下是我的 build.gradle 文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion '22.0.1'
defaultConfig {
applicationId "com.plusgaurav.weatherballoon"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
// support libraries
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:cardview-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
// google play services location api
compile 'com.google.android.gms:play-services-location:7.5.0'
// making connection requests
compile 'com.squareup.okhttp:okhttp:2.4.0'
// animation
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.easing:library:1.0.1@aar'
compile 'com.daimajia.androidanimations:library:1.1.3@aar'
}
提前致谢。
Google play services 7.5 添加其他权限,正常。例如,如果您尝试包含所有播放服务(您现在只包含位置部分),您也会看到很多新权限。
我的应用仅使用以下权限:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
但是当我安装我的应用程序时,它要求未知权限:
modify or delete the contents of your USB storage read the contents of your USB storage
以下是我的 build.gradle 文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion '22.0.1'
defaultConfig {
applicationId "com.plusgaurav.weatherballoon"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
// support libraries
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:cardview-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
// google play services location api
compile 'com.google.android.gms:play-services-location:7.5.0'
// making connection requests
compile 'com.squareup.okhttp:okhttp:2.4.0'
// animation
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.easing:library:1.0.1@aar'
compile 'com.daimajia.androidanimations:library:1.1.3@aar'
}
提前致谢。
Google play services 7.5 添加其他权限,正常。例如,如果您尝试包含所有播放服务(您现在只包含位置部分),您也会看到很多新权限。