Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.12.0
-
Android Studio 3.6.2
-
-
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
- Install the latest Android Studio version
- 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)
- Run Qt Creator 4.12
- 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
- relates to
-
QTBUG-82845 Add Android SDK dependencies config to the installer
- Closed
- resulted from
-
QTCREATORBUG-23285 Automatically download SDK and NDK
- Closed
For Gerrit Dashboard: QTCREATORBUG-23903 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
300727,2 | Android: use latest ndk version instead of ndk-bundle | 4.12 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |