- Home /
Android target api 26, google says its 24
Everything looks as though it should work setting the android api target to 26, however, when I upload my apk to the play store google says it is api level 24.
Any ideas?
That doesn't solve the problem and shouldn't be necessary anyway.
YES it is necessary. Google Play requires every new application to be run on phones which use Android 8.0.0 (API 26) at least. By setting the $$anonymous$$imum API to 24, you allow older phones to download your application and run it....
$$anonymous$$ sdk version is the $$anonymous$$imum version of the Android Operating System required to run your application.
target sdk version is the version of Android that your app was created to run on.
No it is not...
https://forum.unity.com/threads/supporting-google-play-target-api-26-requirement-by-unity.556828/
Anyway, android 6 is api level 23 so surely then my error would say 23, not 24.
Answer by gheeler · Nov 29, 2018 at 11:12 AM
So the problem was I had my own manifest.xml file in Android plugins that I had forgotten about which had 24 hard coded.
As a side note, this whole android target api level 26 still allows old devices to run new apps if they meet the minimum api level. The point is to make developers target higher api levels that have security improvements that aren't being utilised so if someone is running Oreo they have the features that have been developed for it.
Your answer
Follow this Question
Related Questions
Error Building Android Player : Win32 Exception 0 Answers
How come when I generate a signed APK it produces out a JKS file? 0 Answers
Always ask to updating android SDK 4 Answers
One Signal dependecies issue 0 Answers
unity android internal only 0 Answers