When attempting to run the emulator on android studio I receive the Cause: error=86, Bad CPU type in executable error message. I’m using the most up to date android studio for ARM processors. Additionally, when i restart android studio the devices now permanently states "Loading devices". I just got this laptop.
Things I have tried:
- Restarting PC (hahaha)
- Restarting android studio
- Reinstalling android studio
- Trying old versions of android studio for arm devices.
- I’m using Android 12 (s) preview
Please help 😀
2
Answers
Installing Rosetta will fix your issue.
In terminal run the command:
softwareupdate --install-rosetta
I have met that kind of issue when compiled a java program with intellij idea.
Installing the XCode fixed my issue.