Dotnet Maui while install application on device

Viewed 809

ADB0020: Mono.AndroidTools.IncompatibleCpuAbiExceptiopn: The package does not support the CPU architecture of this device.

My device detail

Device : Lg Q6

Api : - 27

Kernel Version : 3.18.71

2 Answers

This error means that the built Android APK did not contain a matching Android architecture for the emulator or device it was deployed to.

Follow the steps below to change the supported architectures. Android Properties> Android Options> Advanced> Change the supported architectures. enter image description here

You could untick all the supported architectures to tick all of them like the gif in the thread I did before. ADB0020: Android ABI mismatch. How do I set ABI of target physical device?

This error means that the built Android APK didn't contain a matching Android architecture for the emulator or device.

For MAUI it's can mean that emulator is not up to date.

Try these steps:

  1. Use maui-check tool to auto-resolve issues
  2. Recreate emulator
  3. Run app again
Related