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.
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 recently announced, that "updates to apps and games on Google Play will be required to target Android 9 (API level 28) or higher". As far as I understand, this does not have any negative consequences (like, the apps are removed from store) to existing apps with a targetSdkVersion lower than 28. Is this true? So, what google wants to say is just that I'm no longer able to update existing apps with targetSdkVersion < 28?
Last year Google notified developers to upgrade your Apps which should be at least API-LEVEL 26.
Now same thing we have to do upgrade API-Level, existing applications will not stop or removed but new builds we can not publish on play store which are below> API Level 28.
Yes you are right, starting from November 1 Google won't allow you to submit to console if the target is less than 28
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
What happens to existing users with the app installed when minSdkVersion is raised and their SDK version is less than that?
Do they still get the update from Google Play with a subsequent crash? Or do they stop getting updates from Google Play?
Below happens on minSdkVersion change
On apk upload, Google plays warns you on minSdkVersion telling how many users will be affected.
Existing users lower than minSdkVersion won't get update and cannot
see app in PlayStore
Existing users lower than minSdkVersion, if they uninstall, cannot
reinstall the application.
I suggest you use multiple apk option in PlayStore and continue to update your newer apk. Just keep the old one as it is.
For example, you can publish your application with one APK that
supports API levels 4 - 7 (Android 1.6 - 2.1)—using only APIs
available since API level 4 or lower—and another APK that supports API
levels 8 and above (Android 2.2+)—using APIs available since API level
8 or lower.
For more, read the android documentation on multiple apk support.
They will not get an update and it won't show up on Google Play for them any more. The version they have installed will remain on their device.
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.