我刚刚发布了一个在其清单文件中有两个权限的应用程序(用于显示横幅广告)."android.permission.INTERNET"和"android.permission.ACCESS_NETWORK_STATE".为了测试我尝试从游戏市场安装我的应用程序,发现该应用程序需要身份,位置,照片/媒体/文件!我的清单文件中没有这样的权限,我不需要它们.尝试使用类似manifest.xml(互联网,网络状态)的其他应用程序,他们正在安装,没有任何特殊权限.考虑到新的内容分级证书系统,我可能会遇到问题,因为在问卷中我标记了不需要用户位置.为什么它需要我没有要求的权限?我正在使用android studio和build.gradle:
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.appName"
minSdkVersion 15
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.github.PhilJay:MPAndroidChart:v2.1.0'
compile 'com.melnykov:floatingactionbutton:1.3.0'
compile 'com.mcxiaoke.volley:library:1.0.+'
compile 'com.nispok:snackbar:2.10.2'
compile 'com.android.support:cardview-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'
compile 'com.google.android.gms:play-services:7.5.0'
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.github.markushi:android-ui:1.2'
compile 'com.afollestad:material-dialogs:0.7.3.1'
}
Run Code Online (Sandbox Code Playgroud)
的Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.AppPackage" > …Run Code Online (Sandbox Code Playgroud)