Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update Google Play Developer API to version 3 on Xamarin Forms App?

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?

like image 563
Omtechguy Avatar asked Jun 27 '19 14:06

Omtechguy


People also ask

How do I update my Xamarin form?

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.

How do I change the API level in Visual Studio?

Go to android project then right click -> Properties -> Android Manifest (scroll down) then you will see Minimun android version and Target android version.


1 Answers

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.

like image 158
Jeroen Corteville Avatar answered Oct 20 '22 22:10

Jeroen Corteville