android - Google Play 不允许我更新我的应用

标签 android cordova google-play

我已经进行了大量搜索,但不知道为什么 Google Play 不让我更新我的 Prod 应用程序。 他们的错误信息对我来说没有太大意义,实际上我不明白他们为什么不接受它。

这是错误信息:

This configuration cannot be published for the following reason(s):
It is forbidden to downgrade devices which previously used M permissions (target SDK 23 and above) to APKs which use old style permissions (target SDK 22 and below). This occurs in the change from version 178 (target SDK 23) to version 2008 (target SDK 22).
It is forbidden to downgrade devices which previously used M permissions (target SDK 23 and above) to APKs which use old style permissions (target SDK 22 and below). This occurs in the change from version 178 (target SDK 23) to version 2008 (target SDK 22).
It is forbidden to downgrade devices which previously used M permissions (target SDK 23 and above) to APKs which use old style permissions (target SDK 22 and below). This occurs in the change from version 178 (target SDK 23) to version 2008 (target SDK 22).
It is forbidden to downgrade devices which previously used M permissions (target SDK 23 and above) to APKs which use old style permissions (target SDK 22 and below). This occurs in the change from version 178 (target SDK 23) to version 2008 (target SDK 22).

这是它的打印品: enter image description here

第一个版本 0.1 是使用 build.phonegap.com 制作的,第二个版本 (0.2) 使用 CLI 在本地发布,因为结果更好。

有人知道吗?

感谢阅读。

最佳答案

这是因为您的新构建的 targetSdkVersion (22) 低于 list 中当前的实时构建 (23):

<uses-sdk android:targetSdkVersion="22" />

targetSdkVersion 23 适用于 Android 6+,其中有一种管理权限的新方法:http://developer.android.com/training/permissions/requesting.html

因此,您当前使用 Android 6+ 的实时用户正在使用新的权限系统,这似乎是 Google 将这些用户降级到存在旧权限系统的 targetSdkVersion 22 的问题。

所以要修复它,您应该更新您的新构建以使用 targetSdkVersion 23 :

<uses-sdk android:targetSdkVersion="23" />

因此请确保您管理新的权限系统。

关于android - Google Play 不允许我更新我的应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35179654/

相关文章:

ios - iTunes Connect 中的应用程序图标丢失

android - 我们如何通过专有 Wifi 网络安装/推送 Android 应用程序?

android - 当我 "remove"来自 Apple 和 Android App Store 的付费应用程序时会发生什么?

java - 关于 Android TV 中的 EPG 数据

android - 类型不匹配 : inferred type is Context? 但需要上下文 - Kotlin

Java 6 Content-type 在 App Ionic 上返回错误类型

android - PhoneGap/Android 自定义键盘

android - 如何通知用户更新Android应用程序

java - 无法在 Android x86_64 上安装 JavaFX 应用程序

android - 播放->停止->播放->停止触摸音频