我試圖上傳新的apk(與我自己的relese密鑰存儲簽名),並在谷歌播放開發者控制檯中得到follwing錯誤。許可 android.permission.ACCESS_COARSE_LOCATION的谷歌玩APK上傳錯誤重複聲明
重複的聲明不同 maxSdkVersions。
但是以前我能夠上傳APK沒有任何錯誤,我沒有做eny修改權限,所以這是奇怪的問題,我搜索了谷歌,找不到可行的解決方案。這是因爲谷歌播放開發者控制檯上的新更新?
搖籃依賴關係
compile 'com.google.android:annotations:4.1.1.4'
compile 'com.google.android.gms:play-services-location:9.4.0'
compile "com.google.android.gms:play-services-gcm:9.4.0"
compile 'com.google.android.gms:play-services-places:9.4.0'
compile 'com.google.android.gms:play-services-maps:9.4.0'
compile 'com.google.android.gms:play-services-auth:9.4.0'
compile 'com.google.android.gms:play-services-plus:9.4.0'
compile 'com.google.android.gms:play-services-appindexing:9.4.0'
compile 'com.google.android.gms:play-services-wallet:9.4.0'
compile 'com.google.zxing:core:2.2'
compile('com.facebook.android:facebook-android-sdk:4.17.0') {
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'appcompat-v7'
}
compile 'com.android.support:recyclerview-v7:24.2.0'
compile('com.twitter.sdk.android:twitter:[email protected]') {
transitive = true;
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'support-v4'
}
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:cardview-v7:24.2.0'
compile 'com.android.support:design:24.2.0'
你的一些庫必須使用你的應用程序不使用的權限。你有沒有在你的應用程序'manifest.xml'中聲明這個權限? – Wizard
這是你的'maxSdkVersions'在這個權限中的值? – MatPag
@MatPag我還沒有在清單中聲明maxSdkVersions –