4

I use visual studio 2019 to publish an Android app made with Xamarin.

To distribute the app I have always used the visual studio "Archive Manager".

I create the APK with the classic "Archive ..." command, then select the generated APK and click "Distribute ...", select Google play, the signature, the account, the "Alpha" channel and error:

This API has been deprecated and is no longer available. [410]

What should I do to resolve?

I can publish manually, but this automatic system is very convenient.

thanks a lot.

P.S.

I already read this post https://github.com/xamarin/Xamarin.Forms/issues/6528 and the problem is VS2019. Last version don't work. why?

similar situation here What is "We’ve detected that your app is using an old version of the Google Play developer API" warning in Google Developer Console? I have already tried to reconnect the project to a new API project but nothing

Any Idea?

All start when Google Play Store show this message:

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: https://android-developers.googleblog.com/2019/03/changes-to-google-play-developer-api.html

Ricko..
  • 619
  • 6
  • 18

3 Answers3

3

A fix has been published in the 16.4.2 version of the Visual Studio. Update your editor, and you will be able to publish like before.

Cristian
  • 131
  • 1
  • 6
1

right now, the only solution I've found, is to publish manually.

Archive Manager > click on the desired apk > Distribute.. > Ad Hoc > Sign and save to local drive.

Go Google play store > creare new release > add APK file

ticket open on VS Forum https://developercommunity.visualstudio.com/content/problem/844304/api-has-been-deprecated-410.html

Ricko..
  • 619
  • 6
  • 18
  • Could you please mark your reply as an answer so that others who have similar question wil get help from here? Thanks. :) – Jessie Zhang -MSFT Dec 10 '19 at 07:37
  • i'm sorry, but i don't understand your request, my answer is already in answer section... what do you mean? do you mean accept the answer? ok – Ricko.. Dec 10 '19 at 12:04
0

Just Try to Update Your Visual Studio Version

Mohamad Mahmoud Darwish
  • 3,865
  • 9
  • 51
  • 76