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

后端 未结 19 1389
温柔的废话
温柔的废话 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:10

    I received the same error while uploading a flutter app to playstore simply change the version code in pubspec.yaml worked for me. may be try changing the version code e.g from +1 to +2 and then rebuild the apk using

    flutter build apk --split-per-abi 
    

    and upload all the apk's to the playstore for your users. Next time when you want to push an update make sure to update the version code to +3 and so on.

    Note: that the version code and version name are different you can see that in android/local.properties file. e.g version: 1.0.0+2

    version is 1.0.0 and verison code is +2

提交回复
热议问题