Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

Version code not increased after export

I have been trying to update my app in the play store. But after uploading play gives me the error "Your APK's version code needs to be higher than 28".

Yes, I changed the version code number in the builders setting under Android Library from 2 to 3.

I know that Appery adds a 8 to the version when exporting. But now it looks like Appery may not be doing that anymore, and could be just using version code 3. I would try just typing version code 29 but if it still adds a "8" to the end it throws off all my versions and makes it complicated to keep track of.

Please help I need to publish the update ASAP

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Version code not increased after export

Hello,

This is the default behavior of Cordova build system. See https://issues.apache.org/jira/browse... task in Cordova Jira. One number is added to "Version code" property depending on Android SDK version and build architecture.

Workaround

  1. Open editor;

  2. Go to "Source" tab;

  3. Open "ANDROID" tree folder;

  4. Open folder with project name;

  5. Create new file (through gear menu) with name gradle.properties and content:

    precdvVersionCode=8/pre

  6. Save project and build it.

Return to “Issues”