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
Forum Update on Monday, May 27th 2025

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.
  • J Offline
    J Offline
    jiancaiyang
    wrote on 10 Jul 2017, 09:15 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
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 10 Jul 2017, 17:16 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 12 Jul 2017, 10:12
      2
      • A Offline
        A Offline
        Avtansh Sharma
        wrote on 11 Jul 2017, 20:20 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
        • S sierdzio
          10 Jul 2017, 17:16

          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 12 Jul 2017, 10:12 last edited by Avtansh Sharma 7 Dec 2017, 10:12
          #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

          S 1 Reply Last reply 12 Jul 2017, 10:14
          0
          • A Avtansh Sharma
            12 Jul 2017, 10:12

            @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

            S Offline
            S Offline
            sierdzio
            Moderators
            wrote on 12 Jul 2017, 10:14 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

            5/5

            12 Jul 2017, 10:14

            • Login

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