Cannot auto generate Android Kit for Qt 5.9.1



  • I am using Qt 5.9.1, host is Linux mint, installed openjdk-8-jdk, android-sdk, android-ndk, and unfortunately Qt Creator cannot auto generate Android Kit. Does anyone have the same problem with me?


  • Moderators

    Qt 5.9 probably targets the newest Android SDKs from Google. Google recently changed the build system completely. Please make sure you run your Android SDK and update it, then check again if Qt works with it..



  • @jiancaiyang
    I would suggest you to manually add kit. You just have to set paths in TOOLS-OPTIONS-BUILD AND DEPLOYMENT-ADDKIT. You can easily get how to add kit tutorial for Android. It is simple and also you will benefit by know what all things are required for kit



  • @sierdzio Just download the sdk from Android Studo->Sdk manager.
    Then point to sdk location. For the change that Google has done. QT5.9.1 has already taken care of that don't worry about that part. Qt5.9.1 will automatically make necessary adjustments by downloading gradle to the required path when you build your app first time


  • Moderators

    @Avtansh-Sharma said in Cannot auto generate Android Kit for Qt 5.9.1:

    @sierdzio Just download the sdk from Android Studo->Sdk manager.
    Then point to sdk location. For the change that Google has done. QT5.9.1 has already taken care of that don't worry about that part. Qt5.9.1 will automatically make necessary adjustments by downloading gradle to the required path when you build your app first time

    Why do you point that reply at me? I'm not the one asking for help ;-)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.