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. "Android SDK installation is missing necessary packages" - but it is not!
Forum Update on Monday, May 27th 2025

"Android SDK installation is missing necessary packages" - but it is not!

Scheduled Pinned Locked Moved Solved Mobile and Embedded
androidsdkinstallationqt creator 10.0ndk
3 Posts 2 Posters 1.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.
  • SeDiS Offline
    SeDiS Offline
    SeDi
    wrote on last edited by SeDi
    #1

    I have not yet managed to compile/deploy for Android on my laptop.
    I have deleted my old SDK, NDK and uninstalled JAVA. Then, via Preferences/Devices installed it all, according to Qt's recommendations:

    C:\Program Files\Eclipse Adoptium\jdk-17.0.7.7-hotspot
    C:\android-ndk-r25c
    cmdline-tools;9.0

    Then I was prompted, that Android SDK installation is missing necessary packages. Do you want to install the missing packages? | 7 Android SDK packages shall be updated. Of course, I did that and accepted every license question.
    _missing.png
    Show Details reveals:

    • [Packages to be installed:]
    • NDK (Side by side) 21.3.6528147
    • Android SDK Platform 31
    • NDK (Side by side) 25.1.8937393
    • Android SDK Build-Tools 31
    • Android SDK Command-line Tools (latest)
    • Android SDK Platform-Tools
    • Google USB Driver installation

    After installation, I can see those packages (for example C:\AndroidSDK\SDK\extras\google\usb_driver) have indeed been installed:

    Unfortunately, Qt Creator doesn't seem to see the packages. It gives me the very same dialog again and shows a red cross instead of a check mark at

    • Android Platform SDK (version) installed
    • All essential packages installed for all installed Qt versions.
      _android settings.png

    If I accept the dialog again, Qt starts installing again, but notices the existing packages and installs into folders with a -2 suffix (for example: C:\AndroidSDK\SDK\extras\google\usb_driver-2). This behaviour is an endless loop (-3, -4...), until I hit cancel instead of ok in the dialog.

    _folder example.png
    I have repeatedly deleted the SDK and repeated the process to no avail and must now give up - any idea?

    Qt Creator 10.0.2, Windows 10

    JoeCFDJ 1 Reply Last reply
    0
    • SeDiS SeDi

      I have not yet managed to compile/deploy for Android on my laptop.
      I have deleted my old SDK, NDK and uninstalled JAVA. Then, via Preferences/Devices installed it all, according to Qt's recommendations:

      C:\Program Files\Eclipse Adoptium\jdk-17.0.7.7-hotspot
      C:\android-ndk-r25c
      cmdline-tools;9.0

      Then I was prompted, that Android SDK installation is missing necessary packages. Do you want to install the missing packages? | 7 Android SDK packages shall be updated. Of course, I did that and accepted every license question.
      _missing.png
      Show Details reveals:

      • [Packages to be installed:]
      • NDK (Side by side) 21.3.6528147
      • Android SDK Platform 31
      • NDK (Side by side) 25.1.8937393
      • Android SDK Build-Tools 31
      • Android SDK Command-line Tools (latest)
      • Android SDK Platform-Tools
      • Google USB Driver installation

      After installation, I can see those packages (for example C:\AndroidSDK\SDK\extras\google\usb_driver) have indeed been installed:

      Unfortunately, Qt Creator doesn't seem to see the packages. It gives me the very same dialog again and shows a red cross instead of a check mark at

      • Android Platform SDK (version) installed
      • All essential packages installed for all installed Qt versions.
        _android settings.png

      If I accept the dialog again, Qt starts installing again, but notices the existing packages and installs into folders with a -2 suffix (for example: C:\AndroidSDK\SDK\extras\google\usb_driver-2). This behaviour is an endless loop (-3, -4...), until I hit cancel instead of ok in the dialog.

      _folder example.png
      I have repeatedly deleted the SDK and repeated the process to no avail and must now give up - any idea?

      Qt Creator 10.0.2, Windows 10

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      @SeDi Click SDK Manager button to install Platform SDK.

      SeDiS 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @SeDi Click SDK Manager button to install Platform SDK.

        SeDiS Offline
        SeDiS Offline
        SeDi
        wrote on last edited by
        #3

        @JoeCFD Thank you for your answer, but that was exactly what I had done - tried and tried all over again. The solution came now with vigorously erasing all of AndroidSDK, upgrading Creator. Now it works!! I'll probably never know why it didn't before. :-)

        1 Reply Last reply
        0
        • SeDiS SeDi has marked this topic as solved on

        • Login

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