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
Related
I'm facing an issue while uploading to the play store.
This issue
Your app currently targets API level 30 and must target at least API level 31 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 31".
If Change the target SDK version some of the features are not working.
Is there any solution to upload to the play console without changing the version of the target SDK.
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 am about to update a new version of my app to the Google play store and I am using Google play services for admob. My minsdk is 8. I understand that to use google play service I have to have at least API 9 minimum. However I do have users who are using the app on API 8. In my code I have platform version checks which ensure that on API level 8 not adverts are shown. However, I am getting a warning on Google play:
You uploaded an APK that uses Google Play services version 8298000. 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
My app won't crash on API 8 because of the checks in place.
Will Google play accept the apk if I ignore the warning?
If I change minsdk to 9, what's going to happen to people who were using it on API 8 - will they be able to reinstall it again?
Answering to your question (2), if you increase the minimum SDK to 9, the update will not be proposed to users having a API 8 device.
Upload failed
You uploaded an APK that uses Google Play services version 6111000. You need touse version 5100000 or lower.
Warnings
You uploaded an APK that uses Google Play services version 6111000. 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.
How to fix this error other than increasing minSdk to 9 ? I m using eclipse for making the apk.
Just download the old version here, and then import it to your project.
Dont forget to remove the reference from the old version from your project.
Now google play will accept your app.
You are using the latest Play Service version (6.1) which start rolling out today.
The new Play Service (4.0+) only supported on Android 2.3+
You have two options:
1- Use Play Service For Froyo. (not recommended at all)
2- Update The minSdkVersion in your manifest to 9
PS: also I recommended you to use Play Service 5.X instead of 6.1. it start rolling out today and it need about two weeks to be installed on all users devices.
There are two approaches to this problem first one change the target sdk but that one of course you have mentioned not to use. The other one in my opinion would be to update your sdk and from google-> google playservices-> get the google play and update it in your project.
I hope this will work.
I have minSdk set to 8 (Froyo) because of client's wish. Google Play won't allow me to upload new .apk. This is what it says:
Warnings
You uploaded an APK that uses Google Play services version 4030500. 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.
Is there any chance to support versions older than Gingerbread?
Thanks in advance.
You have to use an older version of the Google Play Services to be Froyo compatible.
change in your build.gradle file to:
compile 'com.google.android.gms:play-services:4.1.+'
ps.: but I strongly advise in explaning to the client that Froyo is dead and gone and users that still have those devices are users that usually only make phone calls and SMS. They never go to Google Play to download new apps because their devices are too old and are not able to run any modern app properly.