Visual Studio分发Xamarin Android APP.错误该API已被弃用,不再可用. [410] [英] Visual studio distribute Xamarin Android APP. Error This API has been deprecated and is no longer available. [410]

查看:251
本文介绍了Visual Studio分发Xamarin Android APP.错误该API已被弃用,不再可用. [410]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2019来发布使用Xamarin制作的Android应用程序.

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

要分发该应用程序,我一直使用可视工作室"Archive Manager".

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

我使用经典的存档..."命令创建APK,然后选择生成的APK,然后单击分发...",选择Google Play,签名,帐户,"Alpha"频道和错误:

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:

该API已被弃用,不再可用. [410]

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

我该怎么解决?

我可以手动发布,但是这个自动系统非常方便.

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

非常感谢.

P.S.

我已经阅读了该帖子 https://github.com/xamarin/Xamarin.表格/问题/6528 问题是VS2019. 最新版本无效.为什么?

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

此处类似情况 我已经尝试过将项目重新连接到新的API项目,但是什么也没有

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

有什么想法吗?

所有开始于Google Play商店显示此消息:

All start when Google Play Store show this message:

我们检测到您的应用正在使用旧版本的Google 播放开发人员API.从2019年12月1日开始,此API的版本1和2 将不再可用.在此日期之前更新到版本3. 了解更多: https://android-developers. googleblog.com/2019/03/changes-to-google-play-developer-api.html

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

推荐答案

现在,我发现的唯一解决方案是手动发布.

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

Archive Manager>单击所需的apk> Distribute ..> Ad hoc>签名并保存到本地驱动器.

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

转到Google Play商店>创建新版本>添加APK文件

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

门票在VS论坛上公开 https://developercommunity.visualstudio.com/content/problem/844304/api-has-been-deprecated-410.html

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

这篇关于Visual Studio分发Xamarin Android APP.错误该API已被弃用,不再可用. [410]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆