Android Studio/Emulator on macOS with ARM CPU M1
Good news !
Edit on 28th 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 here https://developer.android.com/studio#downloads
Use a 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 Play button and click Next
- Choose an arm64-v8a on "Other Images" tab
-
When NDK runs into
Unknown host CPU architecture: arm64
you can solve it here -
Solved https://stackoverflow.com/a/68285501/1079990kapt
doesn't work
End of beta ! Thank you
Edit on May 2021 🎉 🌈
Apple Silicon Support
There is an arm64 version available for Android Studio Arctic Fox (2020.3.1) Canary 15 ... RC01 You can download it here https://developer.android.com/studio/archive
Edit on 4th Feb 2021
Now audio in and out works properly https://github.com/741g/android-emulator-m1-preview/issues/10#issuecomment-773532762
This fixed my issue
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.