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

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

    If you get this error for your Flutter App's Android APK, in your app/build.gradle file under defaultConfig {}

    comment out

    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
    

    and add

    versionCode 2
    versionName "2"
    

    or "previous version code" + 1.

提交回复
热议问题