如何解决Xamarin Forms API弃用的错误410 [英] How to solve Xamarin Forms API deprecated Error 410

查看:147
本文介绍了如何解决Xamarin Forms API弃用的错误410的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试上传我的apk时,VS2017显示此错误:

VS2017 shows this error when I'm trying to upload my apk:

This API has been deprecated and is no longer available

您知道什么原因以及如何解决此错误吗?

Any idea what cause and how to solve this error?

Xamarin 4.12.3

Xamarin 4.12.3

推荐答案

(由于我以客人身份回答,不允许我嵌入图像,因此下面有图像链接")

("Since I am answering as a guest it is not allowing me to embed images so there are image links below")

问题也发生在vs2019中,我认为这是由Google Play控制台中的此消息引起的

The issue happens in vs2019 also and I think it is being caused by this message in the Google Play Console

需要采取的措施:您自动发布到Google Play的日期将于2019年12月1日停止 您的应用使用的是旧版的Google Play开发者API.从2019年12月1日开始,此API的版本1和2将不再可用,并且对这些版本的任何调用都将失败.在此日期之前更新到版本3.了解更多信息

ACTION REQUIRED: Your automated publishing to Google Play will stop working on December 1, 2019 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, and any calls to these versions will fail. Update to version 3 before this date. Learn more

我不确定如何解决此问题,但是如果您需要发布版本,可以手动获取apk并将其上传到Google Play控制台.

I am not sure how to fix this yet but if you need to get a release out you can manually grab the apk and upload it to the google play console.

存档管理器>单击所需的apk>单击打开的文件夹>从"signed-apks"文件夹中获取apk文件

Archive Manager > click on the desired apk > click open folder > grab apk file from the "signed-apks" folder

然后您可以转到Google Play控制台并创建一个发行版,然后将APK文件与您新创建的发行版一起手动上传.

you can then go to the google play console and create a release and manually upload the apk file along with your newly created release.

我知道这不是我刚刚想出的解决方法,以防万一它可以帮助任何人.

I know this is not the fix I just figured I would through it out there in case it can help anyone.

2019年出现相同错误消息

这篇关于如何解决Xamarin Forms API弃用的错误410的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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