问题描述
我想通过更改清单文件下列升级现有的应用程序。
改变从
I am trying to upgrade the existing application by changing the following in the manifest file.
changing From
android:versionCode="1"
android:versionName="1.0"
要
android:versionCode="2"
android:versionName="1.1" .
我使用的是相同的密钥库,但是当我尝试使用谷歌Play开发者控制台发布的应用程序,我收到一个错误说:
I am using the same keystore, but when I attempt to publish the app using the Google Play Developer Console, I am getting an error saying:
这个配置不能公布,原因如下(S): 可能收到版本1的所有设备都将获得第2版。 有些设备有资格运行多个APK。在这种情况下,设备将收到的APK与更高版本code。
"This configuration cannot be published for the following reason(s): All devices that might receive version 1 would receive version 2. Some devices are eligible to run multiple APKs. In such a scenario, the device will receive the APK with the higher version code."
我怎样才能升级我的应用程序。非常感谢你提前。
How can I upgrade my app. Thank you very much in advance .
推荐答案
我做了错误,切换到高级模式,并将其保存在App为草稿不知。看来开发商控制台不喜欢这样。
I did the mistake to switch to "advanced" mode and it saved the App as draft somehow.Seems the developer console doesn't like that.
删除该应用程序,切换到简单模式,并再次上传.apk文件。
这为我工作。
高级模式是用于上传和同一应用程序管理多个APK。简单模式是用于上传单个的apk所以在大多数情况下,它应该是合适的。
The advanced mode is for uploading and managing multiple apks for the same application.Simple mode is for uploading single apks so in most cases it should be suitable.
这篇关于Android的升级现有的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!