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

后端 未结 3 350
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-01 10:48

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

相关标签:
3条回答
  • 2021-01-01 11:20

    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
    0 讨论(0)
  • 2021-01-01 11:21

    It can be adjusted in 3 steps.

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

    Right click on Android Project and Click Properties

    Step 2 to 4: follow Step 2 to 4

    Step 5 - Uncheck armeabi: Uncheck armeabi

    0 讨论(0)
  • 2021-01-01 11:23

    In Visual Studio, right-click on your project under the Solution Explorer and select Properties. Under the Android Options page check the Packaging properties section and verify that Use Shared Runtime is disabled (turning this off allows you to explicitly select which ABIs to support). Click the Advanced button and, under Supported architectures, check the architectures that you want to support: tip: if you are unaware of arm architectures checking all will remove errors

    0 讨论(0)
提交回复
热议问题