When I try to run on windows this command :
emulator.exe -avd android13
Where android13 is an arm64 avd I receive the error :
INFO | Android emulator version 31.3.13.0 (build_id 9189900) (CL:N/A)
emulator: INFO: Found systemPath c:\Users\zeus\AppData\Local\Android\Sdk\system-images\android-33\google_apis\arm64-v8a\
PANIC: Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x86_64 host.
I'm on windows 10. How can I run an AVD with arm64 cpu architecture?
ARM64 emulation on a x86_64
host currently is only possible up to API level 27 Oreo:
#ifdef __x86_64__
if (sarch == "arm64" && apiLevel >=28) {
APANIC("Avd's CPU Architecture '%s' is not supported by the QEMU2 emulator on x86_64 host.\n", avdarch);
}
#endif
You'd need an ARM64 CPU to run android-33
:
#if defined(__aarch64__)
if (sarch != "arm64") {
APANIC("Avd's CPU Architecture '%s' is not supported by the QEMU2 emulator on aarch64 host.\n", avdarch);
}
#endif