Invalid value 'armeabi' in $(AndroidSupportedAbis). This ABI is no longer supported. Xamarin.Forms - VS2019

删除回忆录丶 提交于 2020-03-18 04:21:11

问题


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


回答1:


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:

  • Targeting 64 bit architectures on Xamarin Android



回答2:


It can be adjusted in 3 steps.

Step 1 - Right-click on Android Project and Click Properties:

Step 2 to 4:

Step 5 - Uncheck armeabi:



来源:https://stackoverflow.com/questions/56196973/invalid-value-armeabi-in-androidsupportedabis-this-abi-is-no-longer-suppor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!