Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator stuck loading screen on M1 mac/ Apple Silicon

I had downloaded Android Studio on my M1 MacBook air but I can't run the emulator and it just gives me an error. I search Android Studio requirements for mac and it says that it requires mac os 10.10 or higher and a minimum of 2 GB disk space and 4GB of ram. Anyone have this issue and how do I solve it?

I try download the arm image android studio it is stuck on the loading screen for the emulator.

enter image description here

like image 336
Shadowwalker Avatar asked Nov 18 '20 00:11

Shadowwalker


People also ask

Does Android Emulator work on M1 Mac?

As of August 2022, there are no Android Emulators available for the Apple M1 chip Macbook to play Android games or run apps. If you have an older version of Mac or an Intel-powered Mac, you can try Bluestacks. Bluestacks is currently the best Android Emulator available on Mac.

Why is my emulator stuck?

Fix 4 – Uninstall and Reinstall AVD From Android Studio, select “Tools” > “SDK Manager” > “SDK Tools“. Uncheck “Android Emulator“. Select “Apply” to have the emulator uninstalled. Once the emulator has been removed, check the “Android Emulator” box again, then select “Apply” to reinstall it.


3 Answers

As for now (19/11/2020) any of the Virtualization tools do not work with the new Apple M1 macs. So things like docker, emulators etc. We might have to wait a bit until this is fully supported unfortunately.

like image 184
qaGuy Avatar answered Oct 12 '22 17:10

qaGuy


Good news !

Edit on 28th July 2021 🎉 🌈

Apple Silicon Support

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/archive

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

End of beta ! Thank you

Edit on March 2021

I can confirm, this preview of Emulator works properly https://androidstudio.googleblog.com/2020/12/android-emulator-apple-silicon-preview.html

In the blog there is a link to a private repo (2021-Jan-04). They moved repo to google and there you find V3 https://github.com/google/android-emulator-m1-preview/releases

Since v3 even audio-out works (no audio-in)

Edit on 4th Feb 2021

Now audio in and out works properly https://github.com/741g/android-emulator-m1-preview/issues/10#issuecomment-773532762

Edit March 2021

You can simply use one of them and it's working out of the box

enter image description here

enter image description here

like image 34
hannes ach Avatar answered Oct 12 '22 17:10

hannes ach


On August release notes you can see on the emulator for Arm host section an entry where they said the support for M1 is in progress. Check the link below: https://developer.android.com/studio/releases/emulator#emulator_for_arm64_hosts

like image 8
Pablo Fernandez Avatar answered Oct 12 '22 16:10

Pablo Fernandez