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. Issue with the Android Kit when installing Qt6.9.0 on Windows 11 Home
QtWS25 Last Chance

Issue with the Android Kit when installing Qt6.9.0 on Windows 11 Home

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 2 Posters 132 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.
  • Z Offline
    Z Offline
    ZINE
    wrote 23 days ago last edited by
    #1

    Hi,

    I installed Qt6.9.0 for Android on my windows 11 home.
    While the installation goes fine and successful, I am facing issue when selecting Android Kit. The kits are not recognized as valid, as shown below.
    2f1a3a8c-bdfd-4fbc-907f-bd4a0a15d53a-image.png

    The SDK seems to be set correctly when using jdk-24, as shown below.
    671ced06-4dee-45e8-b5c5-3ba574114a14-image.png

    When I select jdk-11, I got the below error:
    32f4c02f-98aa-4e0d-924e-c792c9da3c89-image.png

    What may be the issue with my Android Kit ?
    How can I fix it to start compiling Android apps ?

    J 1 Reply Last reply 23 days ago
    0
    • Z ZINE
      23 days ago

      Hi,

      I installed Qt6.9.0 for Android on my windows 11 home.
      While the installation goes fine and successful, I am facing issue when selecting Android Kit. The kits are not recognized as valid, as shown below.
      2f1a3a8c-bdfd-4fbc-907f-bd4a0a15d53a-image.png

      The SDK seems to be set correctly when using jdk-24, as shown below.
      671ced06-4dee-45e8-b5c5-3ba574114a14-image.png

      When I select jdk-11, I got the below error:
      32f4c02f-98aa-4e0d-924e-c792c9da3c89-image.png

      What may be the issue with my Android Kit ?
      How can I fix it to start compiling Android apps ?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote 23 days ago last edited by
      #2

      @ZINE said in Issue with the Android Kit when installing Qt6.9.0 on Windows 11 Home:

      got the below error

      Which you should translate to English.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        ZINE
        wrote 23 days ago last edited by
        #3

        @jsulm
        Here is the error that I got when selecting jdk-11:
        Error message: Qt Creator cannot find the following essential packages: "platform-tools", "cmdline-tools;latest", "emulator", "extras;googlemsb_driver", "ndlc26.1.10909125", "platforms;android-35", "build-tools;35.0.0". Install them manually after the current operation is finished.

        But even if this error is not shown when using jdk-24, the android Kit cannot be used.

        J 1 Reply Last reply 23 days ago
        0
        • Z ZINE
          23 days ago

          @jsulm
          Here is the error that I got when selecting jdk-11:
          Error message: Qt Creator cannot find the following essential packages: "platform-tools", "cmdline-tools;latest", "emulator", "extras;googlemsb_driver", "ndlc26.1.10909125", "platforms;android-35", "build-tools;35.0.0". Install them manually after the current operation is finished.

          But even if this error is not shown when using jdk-24, the android Kit cannot be used.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote 23 days ago last edited by
          #4

          @ZINE According to this page you need JDK17: https://doc.qt.io/qt-6/android.html
          Did you check the Android Kits to see whether there are any warnings/errors?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            ZINE
            wrote 23 days ago last edited by
            #5

            @jsulm yes, setting JDK 17 is required. Also, setting CMAKE manually for each Kit is also required.
            I successfully compiled a Mobile example using Android Qt 6.9.0 Clang arm64-v8a. However, I could not deployed to an Android 13 device. The device is detected by adb and Qt. However, I got the below error when releasing:

            image.png

            Any advice on this ?

            1 Reply Last reply
            0
            • Z Offline
              Z Offline
              ZINE
              wrote 21 days ago last edited by
              #6

              I solved this deployment issue after following solution from this post:
              https://forum.qt.io/topic/140996/qt-6-4-1-android-installing-the-app-failed-with-an-unknown-error

              1 Reply Last reply
              0
              • Z ZINE has marked this topic as solved 21 days ago

              4/6

              17 Apr 2025, 11:08

              • Login

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