Android Studio/Emulator on MACos with Arm CPU M1

Android Studio/Emulator on macOS with ARM CPU M1

Good news !

Edit on 28 th of July 2021 /p>

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

Android Studio [BumbleBee 2021.1.1] Emulator Timeout on Mac M1

I have found the issue so marking this as solved, however, if anyone knows why this solves the problem, please share!

I found an issue opened on Google's anroid-emulator-m1-preview repo with this answer https://github.com/google/android-emulator-m1-preview/issues/76#issuecomment-1023563846

Turns out, I just needed to uncheck 'Launch in a tool window' but again, not sure why that fixed the issue.

Updated to monetery 12.2 Mac OS, Android studio emulator not working

I had the same issue.

Quick fix, Go to Android Studio -> Preferences -> Tools -> Emulator

Now uncheck "Launch in a tool window"

Restart Android Studio.

Try starting the emulator now.

I think it's a bug.



Related Topics



Leave a reply



Submit