Android Studio/Emulator on macOS with ARM CPU M1

Good news !

Edit on 28 th of July 2021 🎉 🌈

Apple Silicon Support

Now, there is an arm64 release version available for Android Studio Arctic Fox (2020.3.1)
You can download it from here https://developer.android.com/studio#downloads

Easy fix to use right architecture

Tools -> SDK Manager -> SDK Tools (tab) -> Deselect ‘Android Emulator’ -> OK

Now, when you try to run your app, or launch device from AVD Manager, it will give the ‘Install Emulator’ error -> Click Ok. This will automatically download the correct version.

Use an arm64-v8a image !

  • Tools -> SDK Manager
  • Install Android 11 (R) or 12.0 (S) and click Apply
  • Tools -> AVD Manager -> click Create Virtual Device
  • Choose any device that has the Google Play Store icon and click Next
  • Choose an arm64-v8a on “Other Images” tab

Android studio

  • When NDK runs into Unknown host CPU architecture: arm64 you can solve it here

  • kapt doesn’t work Solved https://stackoverflow.com/a/68285501/1079990

Leave a Comment