Forums

OverviewV-Play 2 Support (Qt 5) › Issue with license and versionCode

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19024

    Kool

    Hi All,

    I’ve started getting issues with generated V-Play licenses and version codes.

    I follow the same process as always:

    • Generate new license key for a versionCode and identifier
    • Update config.json versionCode
    • Update AndroidManifest.xml versionCode

    However, I now get errors on start up about an invalid license and version codes not matching and the app exits. This worked fine up until versionCode 22.

    I’ve emailed in the generated license key and config.json to the support inbox. Any ideas?

    Many thanks!

    #19025

    Kool

    I get this issue on both Windows and Android.

    I keep the license key in a singleton QML object (idea taken from one of the demos) called ‘Constants.qml’.

    I’m on V-Play version 2.15.1.

    #19027

    Günther
    V-Play Team

    Hi Kool,

    I just tried the license + config for version 22 on Desktop and Android and did not have any issues (with latest V-Play version).

    Can you make sure to create a fresh and clean build after you modified the license and configuration files:

    • Remove previous shadow build directory from file system (usually located beside your project folder and named e.g. “build-<project>-<kit>-Debug”)
    • Open project in Qt Creator
    • Right-click project in Project Tree  and choose “Clean”, followed by right-click and run qmake
    • Build and run your application

    Does it work with the new license?

    Best,
    Günther from V-Play

    #19029

    Kool

    Hi Gunther,

    I don’t build release versions using shadow builds. I usually do a full clean (remove all compiled files etc) then a build and run.

    I’ll give it another try tonight.

    Many thanks!

Viewing 4 posts - 1 through 4 (of 4 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