Forums

OverviewFelgo 2 Support (Qt 5) › keep getting this error: appVersionCodeDoesntMatch

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22343

    jrrobles79

    I really don’t know how to fix this error, I keep getting this message on my app, I follow this steps:

     

    PRODUCT_VERSION_NAME = 1.0.40

    contains(ANDROID_TARGET_ARCH, arm64-v8a) {

    PRODUCT_VERSION_CODE = 1041

    PRODUCT_LICENSE_KEY=  “licence for 1041”

    }else{

    PRODUCT_VERSION_CODE = 1040

    PRODUCT_LICENSE_KEY=  “licence for 1040”

    }

    • clean , build, qmake, and deploy the app on a device, ios, or android, I got the same error
    • I get the appVersionCodeDoesntMatch error

    I have already check the android manifest and all the info is correct, so I don’t know what else to do, I have done this a lots of times and don’t know what im doing wrong.

    #22344

    Edward

    Hello!

     

    If what you have posted above is a direct copy/paste from your code files;

    you mention initially version 1041 and 1042 – yet your version codes from the .pro are 1040 and 1041,

    Is this a mistype in the forum or also in your code?

    #22353

    jrrobles79

    errr I don’t understand your question

    Im using PRODUCT_VERSION_CODE = 1041 for arm64-v8a devices andPRODUCT_VERSION_CODE = 1040 for ios and armv7 devices, as explained on the tutorial for deploy on android, those are the numbers I input on the key generator, I generate a key form the 1040 version and another for the 1041

     

     

    #22354

    Edward

    Hello!

    In your original post you state:

    • STEP 2: Select my plugins, input my app identifier and new version: 1041 and 1042 for arm64-v8a, copy and paste the licences to my .pro files:

    You list 1042, i just wanted to check this was a typo not in your code because that could be your issue!

    #22355

    jrrobles79

    ah ok! sorry, yes that was a mistake the ones I used was 1040 for arm64-v8a, and 1041 on iOs and  armv7a, sorry, and yes those are the numbers I input on the licence generator, sorry I didn’t read correctle there is no 1042, just to be clear.

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support