Upload failed You need to use a different version code for your APK because you already have one with version code 2

后端 未结 19 1347
温柔的废话
温柔的废话 2020-12-22 20:59

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 vers

19条回答
  •  鱼传尺愫
    2020-12-22 21:25

    For people who use Android Studio the problem may be solved by editing versionCode and versionName in build.gradle instead of AndroidManifest.xml.

    e.g.

    defaultConfig {
        applicationId "com.my.packageId"
        minSdkVersion 15
        targetSdkVersion 22
        versionCode 2      <-- change this
        versionName "2.0"  <-- change this
    }
    

提交回复
热议问题