如何解决Xamarin Forms API弃用的错误410 [英] How to solve Xamarin Forms API deprecated Error 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
我不确定如何解决此问题,但是如果您需要发布版本,可以手动获取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.
这篇关于如何解决Xamarin Forms API弃用的错误410的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!