首页 > 解决方案 > Android API 22 权限模型降级 - Google Play Store 新应用版本

问题描述

当我尝试将最新版本的应用程序上传到 Google Play 商店时,我看到以下权限模型降级错误,即使我没有更改任何项目配置。

错误:

Permission model downgrade

Problem:

Users that have the APK with version code 10605, which targets SDK 23 or higher, will receive an error when they attempt to upgrade to this APK because it targets SDK 22.

Resolution:

Ensure that your release includes APKs targeting SDK 23 or higher to which all users that have the APK with version code 10605 can upgrade.

我尝试在 config.xml 中将 android-targetSdkVersion 设置为 23 并运行 cordova build android。虽然构建成功,但应用程序的权限被破坏。

我应该怎么做才能解决上述问题并保持我的应用程序权限完好无损?如果您需要任何其他信息,请告诉我。

配置文件

配置文件图像

AndroidManifest.xml

Android 清单 XML 文件

谢谢你

标签: androidcordovaionic-framework

解决方案


推荐阅读