The Telerik Platform product is retired.Learn more

Additional Digit Appended to Version Code after Android Build


Service Code (AppBuilder)
Feature Cloud Build - Application package, Publish - App Stores
Mobile development type Hybrid (Cordova app)
Mobile OS Android
Cordova framework version Cordova 3.7.0 and above


There is an additional 2 appended in the android:versionCode property after you build a hybrid project for the Android platform. For example, if you have set the Properties > Android > Version Code to 1, after the Cloud Build or Publish operation, the actual versionCode in the AndroidManifest.xml of the apk will be 12.

Steps to Reproduce

  1. Create a Cordova application.
  2. Verify that the Version Code property, under Properties > Android is set to 1.
  3. Build the project for the Android platform as an application package.
  4. Check the AndroidManifest.xml of the built apk. The android:versionCode is 12.


This is an external issue in the Apache Cordova framework. More information about this is available here:


No verified solution available.

This is the original behavior applied by Cordova for differentiating between the Android ARM and x86 types of Gradle build. At this stage, we have decided not to interfere with this logic, as our modification can conflict with the solution Cordova comes up with in the future.


Even though modified internally, the version code will not increase too quickly and you will not run out of possible version codes.

With the current convention and the internal modification, when you increase your version code by one, your actual version code will be increased by ten. For example, when you enter 16, the version code of the apk becomes 162. The next time you need to increase this, you can enter 17 and the version code will become 172.

If you follow the standards for versioning your app, you will be able to use 214,748,364 numbers for version code.

Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.