Getting warning while uploading any apk on Play Store.
You uploaded an APK that uses Google Play services version 4452000.
This will only work with Android API levels of 9 and above. It is
discouraged to use this Google Play services version unless you have
set the minSdkVersion in your manifest to 9 or higher
What is the actually problem here?
This version of Google Play services that you use in your app is compatible with android device that runs android 2.3(API level 9) or higher. if you want support android 2.2(API level 8), install Google Play services for Froyo from SDK manager and use that version in your project. you can set minSdkVersion to 9 if you want to use current Google Play services that you have.
Yes actual problem is with minSdkVersion
you might have used
<uses-sdk android:minSdkVersion="8"/>
change it to
<uses-sdk android:minSdkVersion="9"/>
you could try this code.
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="16"/>
Related
Understand Google Play has a new API requirement:
Google Play will require that new apps target at least Android 8.0
(API level 26) from August 1, 2018, and that app updates target
Android 8.0 from November 1, 2018.
Previously I uploaded an APK that was has the following values:
Afterwards I made an updated before November 2018:
I plan to do an update soon and would like to ensure I am meeting all requirements beforehand.
Does it mean I have fulfilled the new API requirement? Should I be looking at API levels or Target SDK? Is API levels referring to the minimum API level?
You could check your android manifest for the following lines:
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="26" />
As long as the target is 26 and above, I believe it should work fine.
I have published an apk recently using this without any issues.
You may refer to: The problem about Google Play's target API level requirement , in which someone has explained the min and target version.
Google Play said : Warnings You imported an APK file that uses Google Play Services version 4030500. This APK file will only work with Android APIs level 9 or higher. You should not use this version of Google Play Services unless you have set the minSdkVersion value to 9 or higher in your manifest file. Your APK uses permissions that require privacy policies: (android.permission.READ_PHONE_STATE, android.permission.GET_ACCOUNTS)
From what you posted, go to build.gradle and try to change the minSdkVersion to level 9 like this:
minSdkVersion 9
I have just published my first Android app for BETA testing. The minimum required Android version is 4.4.x which is indicated in the AndroidManifest.xml as:
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="24" />
It seems supported devices are filtered out accordingly, but on the Google Play store page as says
Required Android:
1.6 and up
This seems quite misleading.
Is there a way to fix that?
Update:
This seems to be correct ones the app is published as a production version.
I get this warning, every time myapp's apk file upload on Google Play Store.
You uploaded an APK that uses Google Play services version 50890000. This will only work with Android API levels of 9 and above. It is discouraged to use this Google Play services version unless you have set the minSdkVersion in your manifest to 9 or higher
what does it mean?
It means that u use the Google Play service Version 50890000 - Google Play service requires Androids API Version 9 (or higher). It seems like you have a lower version specified in your manifest file. But to reflect the requirements of GPs it's recommented to set it also to set your Apps min required API version to 9.
For mor specific information about the minSdkVersion attribute take a look on https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#min
I have the targetSdkVersion set as 17 in my manifest. Kindly let me know if there will be any problem when I run this in the phone which has the API of 18.
Manifest xml :
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
I will not support API 18 and if you upload it to play store
then it will not be visible for all device > API 17
For example my Application which is uploaded to Play Store have 10 - 18 API support
so it support 3326 Type of devices on play store similarly and it is available for those api level devices only
My app on PlayStore
Permissions also matters
Say if you want Wifi Permissions and device not have wifi it won't be visible for those device who don't have wifi
If you directly install it to Device > API 17 it will give warning but will install
The Official Documentation Mentions here
From the official documentation (link):
To maintain your application along with each Android release, you should increase the value of this attribute to match the latest API level, then thoroughly test your application on the corresponding platform version.
No. But it is recommended to set android:targetSdkVersion to the newest version.