20
votes

enter image description here

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"

enter image description here

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?

1
How are you uploading your package to GooglePlay? CI, or direct upload from the Console? – Bruno Caceiro
I would also like to know the answer for this. For us we are uploading via appcenter. – Umair
@Bruno - uploading using visual studio 2019 – Omtechguy
@Umair - upvote 😉 – Omtechguy
@Omtechguy did you found reason and solution for this warning? – Jaydip Kalkani

1 Answers

1
votes

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.