Reputation: 121
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:
Please help :D
Upvotes: 12
Views: 18618
Reputation: 31
You will need Rosetta 2 on your Mac. Rosetta 2,is a component of macOS Big Sur, is part of the Mac transition from Intel processors to Apple silicon, allowing Intel applications to run on Apple silicon-based Macs.
softwareupdate --install-rosetta
Upvotes: 2
Reputation: 281
Installing Rosetta will fix your issue.
In terminal run the command:
softwareupdate --install-rosetta
Upvotes: 27
Reputation: 11
I have met that kind of issue when compiled a java program with intellij idea. Installing the XCode fixed my issue.
Upvotes: 1