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 Published Successfully but today i want to publish new update of my app but its showing the error "Your APK Version code should be higher than 378 "
I have changed Version in config file and also changed the android:version code and version name in AndroidManifest file but nothing working for me . Any help would be Appreciated .Thanks
android:versionCodeAn internal version number. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. This is not the version number shown to users; that number is set by the versionName attribute.
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 [email protected])
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With