Unsolved unable to set target Android SDK to API 24
-
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.
-
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"/>