While uploading new APK to GooglePlay of a very simple APP which using only webview using Visual Studio 2019 Xamarin.Forms i am getting the following error on Google Play console:
"We’ve detected that your app is using an old version of the Google Play Developer API. From December 1 2019, versions 1 and 2 of this API will no longer be available. Update to version 3 before this date. Learn more"
Nuget Packages:
Id Versions ProjectName
-- -------- -----------
Microsoft.AppCenter.Analytics {2.1.1} xamarin
Xamarin.Essentials {1.1.0} xamarin
Microsoft.AppCenter.Push {2.1.1} xamarin
NETStandard.Library {2.0.3} xamarin
Microsoft.AppCenter.Crashes {2.1.1} xamarin
Xamarin.Forms {4.0.0.540366} xamarin
Microsoft.AppCenter {2.1.1} xamarin
Microsoft.AppCenter {2.1.1} fms_xamarin.Android
Microsoft.AppCenter.Analytics {2.1.1} fms_xamarin.Android
Microsoft.AppCenter.Crashes {2.1.1} fms_xamarin.Android
Microsoft.AppCenter.Push {2.1.1} fms_xamarin.Android
Xamarin.Forms {4.0.0.540366} fms_xamarin.Android
Xamarin.Android.Support.Design {28.0.0.1} fms_xamarin.Android
Xamarin.Android.Support.v7.AppCo... {28.0.0.1} fms_xamarin.Android
Xamarin.Android.Support.v4 {28.0.0.1} fms_xamarin.Android
Xamarin.Android.Support.v7.CardView {28.0.0.1} fms_xamarin.Android
Xamarin.Android.Support.v7.Media... {28.0.0.1} fms_xamarin.Android
Xamarin.Android.Support.Core.Utils {28.0.0.1} fms_xamarin.Android
Xamarin.Android.Support.CustomTabs {28.0.0.1} fms_xamarin.Android
Xamarin.Essentials {1.1.0} fms_xamarin.Android
Xamarin.GooglePlayServices.Base {60.1142.1} fms_xamarin.Android
Xamarin.GooglePlayServices.Basement {60.1142.1} fms_xamarin.Android
How can i update the SDK as google asking for?
Go to Tools > Extensions and Updates... and click on the Installed list to check that the NuGet Package Manager for Visual Studio is at least version 2.8. 5. If it is older, click on the Updates list to download the latest version. Once you've updated the NuGet package to Xamarin.
Go to android project then right click -> Properties -> Android Manifest (scroll down) then you will see Minimun android version and Target android version.
Adding this answer for someone that might stumble upon this thread:
This has been fixed in the newest version of Visual Studio 2019, so you just need to update your Visual Studio version to latest.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With