Updating app with ionic generates incorrect version code

Generate a new apk to update an app with ionic. In the config.xml and AndroidManifest.xml file (located in platforms / android) version of the code is correct. With this syntax:

<widget id="com...." android-versionCode="24" version="5.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<manifest android:hardwareAccelerated="true" android:versionCode="24" android:versionName="5.0.1" package="..." xmlns:android="http://schemas.android.com/apk/res/android">

Generate last version code: 24, but in developer console look like “version 248”. In others aplication similar, add “8” to verson code.

What could be the problem? Thanks

This can explain https://software.intel.com/en-us/xdk/articles/android-and-crosswalk-cordova-version-code-issues

1 Like

Thanks @missile !
So It is ok, not an error…