How to solve “Your APK's version code needs to be higher than 2.” in Google Play's Developer Console?

后端 未结 16 688
半阙折子戏
半阙折子戏 2020-12-08 09:28

I\'m getting this error when uploading my Phonegap app to the Google Play Developer Console:

Your APK\'s version code needs to be higher than 2.

<
16条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 09:42

    Use aapt to verify your APK version:

    aapt dump badging myapp.apk
    

    It will tell you to increase the versionCode in AndroidManifest.xml, e.g.

      
    

提交回复
热议问题