Version Codes are driving me NUTS !

  • Hi all,

    I am building my .apk with Coocoon and there I am able to change the version code. I know I need to increase the value of the Version Code every time, by at least 1... in theory!

    I had a version code 9000 and then added 90009 at the developer console did not accept it... Every time I have to add random big numbe at the end to see if works, and even ad a good amount sometimes it doenst accept.

    I dont understand the calculation logic it does. Can some one explain?

    If the vcode is 9090909090900 it becomes 1813121868

    if add up to 909090909090099999 it becomes 142999352 a even smaller number! WTF !

  • 1.0.0



    (That worked for me)

  • still trying to fix it

  • NOTE: assume this is for Android

    did you check that the android_manifest.xml updates to the same number you expected?

    sometimes the Android build screws up and doesn't fully update like it's cached or something) - I change it in the properties of the C2 project. Then recompile, then import to android studio...

    Just a thought (and a sledgehammer approach) - if you rename you app (ie stick a number 2 after it in the name field) does it update then?

  • After trying a few more times I got to get a number right. I wanted to have the app versions always using 9 (Ex 9.9 9.9.9) and I got lost with the play developer console version code "generator",

    I think the final solution I found looks pretty cool actually:


    thank you anyway for your attention

  • So I got this errror trying to upgrade a version code from 4000000 to 5000000000: WHY?

    this was from 4.0 to 5.0


    /workspace/platforms/android/gradlew: Command failed with exit code 1 Error output:

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    /workspace/platforms/android/build/intermediates/manifests/full/armv7/release/AndroidManifest.xml:5:26-36: AAPT: Float types not allowed (at 'versionCode' with value '5000000000').

    /workspace/platforms/android/build/intermediates/manifests/full/armv7/release/AndroidManifest.xml:2: error: Error: Float types not allowed (at 'versionCode' with value '5000000000').

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • So I had to use 400000045900 and it worked... i dont get the logic here thats why I get lost...

    on google play it became 1385906426

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)