为什么无法将APK上传到Google Play控制台?

时间:2019-08-17 12:41:27

标签: android unity3d google-play

我上载apk到游戏机时出现此错误

Upload failed:

You need to use a different version code for your APK or Android App Bundle because you already have one with version code 1.

Your APK or Android App Bundle is using permissions that require a privacy policy: (android.permission.READ_PHONE_STATE, android.permission.GET_ACCOUNTS)

我只想从我的应用中删除该Android权限(READ_PHONE_STATE

1 个答案:

答案 0 :(得分:1)

您需要在应用程序build.gradle中更改版本

versionCode 1
versionName "1.0"

将其更改为(例如)

versionCode 2
versionName "1.1"

关于权限-您需要为应用设置隐私政策。