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 137 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 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 ?

    jsulmJ 1 Reply Last reply
    0
    • Z ZINE

      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 ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote 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 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.

        jsulmJ 1 Reply Last reply
        0
        • Z ZINE

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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote 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 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 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

              • Login

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