上传失败,您需要使用一个不同的版本,code为您的APK,因为你已经有一个版本code 2您的、版本、你已经、您需要

2023-09-05 05:54:00 作者:未来不是梦

根据这个答案How解决与QUOT;您的APK版本code需要比2&QUOT较高;在谷歌Play的开发者控制台?我刚换了版本code,从2到3,并将其上传失败的构建。

这是我的老menifest之前上传的APK

 <舱单的xmlns:机器人=htt​​p://schemas.android.com/apk/res/android
    包=mypackage的名字
    机器人:INSTALLLOCATION =自动
    安卓版code =28
    机器人:VERSIONNAME =1.0028>

    <用途-SDK
        安卓的minSdkVersion =8
        机器人:targetSdkVersion =19/>
        .....
 

下面是新版本的code,我要上传的Andr​​oid开发者控制台。见我menifest

 <舱单的xmlns:机器人=htt​​p://schemas.android.com/apk/res/android
    包=mypackage的名字
    机器人:INSTALLLOCATION =自动
    安卓版code =2
    机器人:VERSIONNAME =2.0001>

    <用途-SDK
        安卓的minSdkVersion =8
        机器人:targetSdkVersion =19/>
        ......
 
如何批量更新店铺商品信息

我不知道什么问题。任何帮助吗?

解决方案

 安卓版本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.