$(AndroidSupportedAbis)中的值'armeabi'无效.不再支持此ABI. Xamarin.Forms-VS2019 [英] Invalid value 'armeabi' in $(AndroidSupportedAbis). This ABI is no longer supported. Xamarin.Forms - VS2019

查看:732
本文介绍了$(AndroidSupportedAbis)中的值'armeabi'无效.不再支持此ABI. Xamarin.Forms-VS2019的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Xamarin.Forms构建的移动应用程序
当我尝试将项目从VS2017升级到VS2019时

我在 Android项目

中遇到此错误

$(AndroidSupportedAbis)中的值'armeabi'无效.不再支持此ABI.请更新您的项目属性

我试图删除 bin obj 文件夹,以强制项目重建所有内容,但错误仍然出现

我可以对上述错误以及如何解决该错误进行解释吗?

注意:该错误未在VS2017中出现

解决方案

armeabi已弃用,并且您的Android项目应在面向Play商店的发行版本中至少以armeabi-v7aarm64-v8a为目标.

您可以直接编辑.csproj并从AndroidSupportedAbis标记中删除armeabi:

<AndroidSupportedAbis>armeabi-v7a;arm64-v8a</AndroidSupportedAbis>

或者您可以在IDE中打开Android Build设置,它将为您自动更新它:

I have a Mobile App built with Xamarin.Forms
when I am trying to upgrade my project from VS2017 to VS2019

I get this error in Android Project

Invalid value 'armeabi' in $(AndroidSupportedAbis). This ABI is no longer supported. Please update your project properties

I tried to delete bin and obj folders to force the project to rebuild everything, but the error still appears

Can I get an explanation about the error above and how to solve it?

Note: the error doesn't appear in VS2017

解决方案

armeabi is deprecated and your Android project should target armeabi-v7a and arm64-v8a at a minimum in your release builds destined for the Play Store.

You can directly edit your .csproj and remove the armeabi from within the AndroidSupportedAbis tags:

<AndroidSupportedAbis>armeabi-v7a;arm64-v8a</AndroidSupportedAbis>

Or you can open the Android Build settings in the IDE and it will auto-update it for you:

这篇关于$(AndroidSupportedAbis)中的值'armeabi'无效.不再支持此ABI. Xamarin.Forms-VS2019的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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