Your APK's version code should be higher than 378

前端 未结 2 1380
后悔当初
后悔当初 2021-02-05 14:25

I have created an Android app in Phonegap Build few months ago and its working fine and available on Play Store .I have Published Couple of updates of my app and thay are all Pu

2条回答
  •  野的像风
    2021-02-05 15:00

    I think I have the same problem as you.

    In production, i have The Following release:

    200118 (2.0.11)

    Note that the 6-digit versionCode

    I have updated Cordova Client (Cordova Android 5.2.1 and cordova@6.3.0)

    I want to publish new release (my config.xml for the new version):

    Widget id = "com.xxxxx.yyyyyyyyyyy" version = "2.1.1"

    When I compile the release with Cordova, I get a manifest:

    Manifest android: hardwareAccelerated = "true" android: versionCode = "20101" android: versionName = "2.1.1"

    Note that the 5-digit versionCode

    When I want to publish on Google Play, so I get the same message as you: "Your APK version code shoulds be Higher Than 200118"

    Cordova bug?

    As a workaround, edit your config.xml, add "android-versionCode" and specify your versionCode manually:

    widget id="com.xxxxx.yyyyyyyyyyy" android-versionCode="201018" version="2.1.1"

    And build

提交回复
热议问题