Muhammad Irfan
Muhammad Irfan

Reputation: 294

Your APK's version code should be higher than 378

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 "

enter image description here

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

Upvotes: 14

Views: 4013

Answers (2)

JeromeXoo
JeromeXoo

Reputation: 1378

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

Upvotes: 43

Homen
Homen

Reputation: 1212

Your version in config.xml should be more than the previous one.Check my this answer link

Upvotes: 0

Related Questions