unable to set target Android SDK to API 24
-
hi
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 toolsThanks
-
@nysuka have you tried SDK 25.2.5 and NDK R10e ?
-
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 ?
-
Did you also check 4.3.1 that just got released ?
-
Then you should check the bug report system to see if there's something related.
-
up
Does anybody know if this bug was fixed in latest QtCreator 4.5.1? It is required by Google Play to make all new apps be targeted to API 26 after Aug 01 2018. And all old apps must be rebuild to be targeted to API 25 after Nov 01 2018. Some apps require to be redesigned to meet new rules. Better start do this earlier...
-
@Gourmet I'm using Qt 5.10.1 and QtC 4.5.1
now it's much easier to manage SDKs from inside QtC and you can use all what's available :) -
@ekkescorner Do you talk about Android SDKs?
-
@Gourmet said in unable to set target Android SDK to API 24:
@ekkescorner Do you talk about Android SDKs?
yep - I'm using API18 up to API26
-
@Gourmet I agree Qt Creator should be updated, but in the meantime and as workaround, you may edit the AndroidManifest.xml file as source from Qt Creator itself. See the "XML Source" tab at the top when you're editing the manifest.
Then look for this entry:<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17"/>