Xamarin开发的android项目在调试阶段运行模拟器如果出现ADB0020:The package does not support the CPU architecture of this device.错误。

解决办法:

android项目右键属性,选择Android属性,选择高级,Active改成x86

image

image

模拟器运行勾选x86或x86_64,真机运行勾选armeabi-v7a和arm64-v8a,点击关闭

image

重新运行即可!