I installed android studio, and the image for ARM Android 12 (Api level 31), after creating a device in AVD and trying to run the device with the command
./emulator @Pixel_5_API_31_ARM
I get the output
PANIC: Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x86_64 host.
How do I fix this, since the emulator should run fine