unable to set target Android SDK to API 24
I'm upgrading my project from Android 6 (API 23) to Android 7 (API 24). I have set the Android build SDK to android-24 under the Build Settings in Qt Creator, but when I do Create Templates to modify the AndroidManifest.xml, I only get the choose up to API 23 for the Minimum required SDK and Target SDK.
Is there a step or install I've skipped? I get the same issue with Qt Creator 4.3 or 4.2, Qt 5.9 or 5.7, Android SDK 26.0 or 25.2.5, Android NDK 13b or 15.
This question is similar to this unanswered one
Re: Android SDK missing tools
@nysuka have you tried SDK 25.2.5 and NDK R10e ?
Thank you for your suggestion.
I just tried that, SDK 25.2.5 with NDK 10e, and API 24 is still unavailable for selection as Target SDK nor Minimum required SDK. Only choices I get still are Not set and APIs from 9 to 23.
I'm always using android-23, but 25.2.5 should also deal with android-24, but haven't tried yet with Qt 5.9
(sorry - no time to try it out now)
Hi and welcome to devnet,
Might be a silly question but to you have that API installed ?
All suggestions welcomed.
I do have API 24 installed and I can select android-24 as the Android build SDK in the Build Settings. Despite selecting android-24, I can only choose up to API 23 for Target SDK when I modify AndroidManifest.xml.
This is a bug of qtcreator.
Android target SDK number is limited to 23.
Below is that codes.
QPair<int, int> AndroidManager::apiLevelRange()
return qMakePair(9, 23);
Did you also check 4.3.1 that just got released ?
@SGaist Yes. It is same.
Then you should check the bug report system to see if there's something related.