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

后端 未结 16 677
半阙折子戏
半阙折子戏 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 10:01

    Had the same problem. Changing the version wasn't helpful. For Android builds you can add versionCode to your config.xml and state the version.

        xmlns:gap = "http://phonegap.com/ns/1.0"
        id        = "xxx.xxxxxx"
        versionCode = "415" 
        version   = "1.0.11">
    

    Check http://docs.build.phonegap.com/en_US/3.1.0/configuring_basics.md.html#The%20Basics

提交回复
热议问题