Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cannot auto generate Android Kit for Qt 5.9.1
QtWS25 Last Chance

Cannot auto generate Android Kit for Qt 5.9.1

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jiancaiyangJ Offline
    jiancaiyangJ Offline
    jiancaiyang
    wrote on last edited by
    #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?

    我们自己的论坛:http://qtdream.com
    擅长三维角色仿真动画。

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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..

      (Z(:^

      A 1 Reply Last reply
      2
      • A Offline
        A Offline
        Avtansh Sharma
        wrote on last edited by
        #3

        @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

        1 Reply Last reply
        1
        • sierdzioS sierdzio

          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..

          A Offline
          A Offline
          Avtansh Sharma
          wrote on last edited by Avtansh Sharma
          #4

          @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

          sierdzioS 1 Reply Last reply
          0
          • A Avtansh Sharma

            @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

            sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            @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 ;-)

            (Z(:^

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved