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. No valid kits found when creating android application
Qt 6.11 is out! See what's new in the release blog

No valid kits found when creating android application

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 5 Posters 5.7k Views 1 Watching
  • 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.
  • Q Offline
    Q Offline
    qurban_ali36
    wrote on last edited by
    #1

    I have latest qt creator and qt sdk for android, I configured the creator by putting the paths for android sdk ndk and ant. When I create a new mobile application, it gives me this message "No valid kits found", However it has some kits "image for kits here":https://www.facebook.com/photo.php?fbid=3334721103809&set=a.1974194331490.55573.1742030133&type=1&relevant_count=1
    Someone please help me to create an empty android app, just to see that everything works fine and I can continue with android development.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Maybe a silly question, but, did you also install a Qt for Android package ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qurban_ali36
        wrote on last edited by
        #3

        Hey, thanks for the reply.
        I am a PyQt developer and trying to learn android development with Qt. I downloaded "Qt 5.1.0 for Android (Windows 32-bit, 716 MB)" and installed it. Then I downloaded "android sdk (from android developers site)", "android ndk" and "apache ant" and put paths to these packages in Qt Creator's Tools > Options > Android window. That's all I did. Am I missing any package on my computer? if yes, please guide me as I am new to Qt Creator and Android.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          moondowner
          wrote on last edited by
          #4

          When creating a new project, don't choose "Mobile Qt Application" but instead choose "Qt Quick 2 Application (Built In Elements)". You can see that Android is listed in Supported Platforms in the right box of the wizard dialog.

          This has worked for me. I guess it's a bug in QtCreator...

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Muhammad
            wrote on last edited by
            #5

            I have the same problem here buddy, if you found a solution to yours please write it here
            Thanks

            I don't have endpoint, I just have Checkpoints.

            1 Reply Last reply
            0
            • GianlucaG Offline
              GianlucaG Offline
              Gianluca
              wrote on last edited by
              #6

              Ok, just another step… to be sure you did everything well.
              When you download the android sdk … the installer of the 'sdk' does not install anything ! Yep… it's true.
              What you need to do after, is to run the "android" manager. You found it into the /path/to/sdk/tools/android
              When you run it, it appear a list of available developer packager organized on the basis of the Android version and API level you want to develop for.
              Select and install some of these (like API 19, API 10).

              After that, try to reopen the Qt creator and set the sdk and ndk path, now it should see that there is some kits.

              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