问题描述
根据这个答案<一个href="http://stackoverflow.com/questions/15593328/how-to-solve-your-apks-version-$c$c-needs-to-be-higher-than-2-in-google-play">How解决与QUOT;您的APK版本code需要比2&QUOT较高;在谷歌Play的开发者控制台?我刚换了版本code,从2到3,并将其上传失败的构建。
这是我的老menifest之前上传的APK
&LT;舱单的xmlns:机器人=http://schemas.android.com/apk/res/android
包=mypackage的名字
机器人:INSTALLLOCATION =自动
安卓版code =28
机器人:VERSIONNAME =1.0028&GT;
&LT;用途-SDK
安卓的minSdkVersion =8
机器人:targetSdkVersion =19/&GT;
.....
下面是新版本的code,我要上传的Android开发者控制台。见我menifest
&LT;舱单的xmlns:机器人=http://schemas.android.com/apk/res/android
包=mypackage的名字
机器人:INSTALLLOCATION =自动
安卓版code =2
机器人:VERSIONNAME =2.0001&GT;
&LT;用途-SDK
安卓的minSdkVersion =8
机器人:targetSdkVersion =19/&GT;
......
我不知道什么问题。任何帮助吗?
安卓版本code =28
您previous 版本code
是28.你应该加1到29。
安卓版本code =29
presumably,你的previous的应用程序版本是1到28,与版本code 3释放,你是矛盾与您的应用程序的previous版本已经发布了与这个版本code。
According to this answer How to solve "Your APK's version code needs to be higher than 2." in Google Play's Developer Console? I have just changed the version code from 2 to 3 and it failed to upload the build.
This is my old menifest before upload the apk
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mypackage name"
android:installLocation="auto"
android:versionCode="28"
android:versionName="1.0028" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="19" />
.....
here is the new version code which I have to upload on android developer console. See my menifest
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mypackage name"
android:installLocation="auto"
android:versionCode="2"
android:versionName="2.0001" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="19" />
......
I dont know whats the issue. Any help?
android:versionCode="28"
Your previous versionCode
was 28. You should increment it by 1 to 29.
android:versionCode="29"
Presumably, your previous app versions were 1 through 28. By releasing with versionCode 3, you are conflicting with a previous version of your app that was already released with this versionCode.
这篇关于上传失败,您需要使用一个不同的版本,code为您的APK,因为你已经有一个版本code 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!