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

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

问题描述

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

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

我在 Android 项目

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

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

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

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

我可以得到有关上述错误的解释以及如何解决吗?

注意:该错误不会出现在VS2017中

推荐答案

armeabi 已弃用,您的 Android 项目应面向 armeabi-v7aarm64-v8a 至少在面向 Play 商店的发布版本中.

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.

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

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

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

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

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天全站免登陆