Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23903

Android SDK installation error if using NDK (Side by side) only

    XMLWordPrintable

Details

    • macOS
    • 9e31378b50305ac92e21c2bbb7624cbe189850bc (qt-creator/qt-creator/4.12)

    Description

      Qt Creator 4.12.0 shows the following alert when having the NDK installed in /sdk/ndk/<version> ("NDK (Side by side)" in Android SDK Manager), but not in the old /sdk/ndk-bundle location ("NDK (Obsolete)" in Android SDK Manager in the latest Android Studio):

      Android SDK installation is missing necessary packages. Do you want to install the missing packages.

      Additionally, the panel will show "Android settings have errors" and the error " All essential packages installed for all installed Qt versions". Clicking "Yes" will install the "NDK (Obsolete)" package in /sdk/ndk-bundle.

      Having only the "NDK (Side by side)" installed should not be treated as an error.

      Steps to reproduce
      1. Install the latest Android Studio version
      2. In SDK Manager > SDK Tools:
        • Check "NDK (Side by side)"
        • Make sure that "NDK (Obsolete)" is unchecked (disable the "Hide Obsolete Packages" checkbox to see this package)
      3. Run Qt Creator 4.12
      4. Go to Settings > Devices > Android
      Expected results

      No error is shown.

      Actual results

      The above error is shown, even though the NDK installation is correctly detected in ~/Library/Android/sdk/ndk/21.1.6352462.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              assam Assam Boudjelthia
              fseiffert Frederik Seiffert
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes