android-emulator-m1-preview icon indicating copy to clipboard operation
android-emulator-m1-preview copied to clipboard

Android Studio says "No emulator installed"

Open Jarzka opened this issue 3 years ago • 8 comments

Hi

The readme file of this repo says that this emulator is no longer needed (or that it does not need to be installed manually?). However, when I'm setting up Android emulator on my M1 with Android Studio, I'm able to find and download AMR64-based Android images, but when I try to run them, Android Studio says "No emulator installed". There is a "Install" button, but it does nothing (or in some cases it asks me to install Intel Haxm which obviously does not work).

https://imgur.com/a/6VzbMJ4

I downloaded the emulator manually and it works, but the version here on GitHub is over 6 months old as I'm writing this. How can I install the latest version of this emulator?

Jarzka avatar Jun 07 '21 06:06 Jarzka

It's the same for me.

Add arm64 AVD.
スクリーンショット 2021-06-08 18 24 32

Click the run button.
スクリーンショット 2021-06-08 18 25 13

A dialog appears.
スクリーンショット 2021-06-08 18 24 42

Install Emulator

Intel HAXM is required to run this AVD.
No emulator installed

Please download the emulator

A dialog appears.
スクリーンショット 2021-06-08 18 24 47

ADV Manager

Retry after fixing problem by hand

Environment

  • Android Studio: 4.2.1
    Arctic Fox (2020.3.1) Beta 3 as well

uhooi avatar Jun 08 '21 09:06 uhooi

Does anyone have a solution for this issue ?

baptttt avatar Jun 16 '21 07:06 baptttt

Same issue here

alienriquebm avatar Jun 21 '21 23:06 alienriquebm

Completely uninstall Android Studio via https://stackoverflow.com/questions/17625622/how-to-completely-uninstall-android-studio-on-mac

Then reinstalling worked for me.

izackp avatar Jul 01 '21 18:07 izackp

For me the fix was easy - install an emulator.

The version on GitHub is old. Now you can install it directly via the SDK manager. If it's checked, uncheck, apply, check, apply and restart Android Studio:

sdk manager

And when creating the virtual device, one needs to select an arm image:

avd manager

nohli avatar Jul 07 '21 11:07 nohli

Thanks @nohli , this is the information I was looking for. It would be helpful if this was also mentioned in the README file of this project.

Jarzka avatar Jul 12 '21 09:07 Jarzka

I've created an emulator with the arm64 image as mentioned by @nohli but it still won't start, saying that Intel HAXM is required 😞

Screen Shot 2021-07-18 at 23 06 02

I'm using version 30.7.5 of the Emulator

Screen Shot 2021-07-18 at 23 06 44

Update:

Never mind... looks like the uninsntall step is required. Uninstalled and installed again the same version, and now it's working!

Update 2:

I'm able to launch the emulator, but Android Studio won't install the app to it for some reason. It just builds it and stops. No error or anything. adb devices says that the emulator is offline. Any idea how to fix this?

sryze avatar Jul 18 '21 17:07 sryze

Fix: https://stackoverflow.com/questions/67230200/emulator-appearing-offline-on-m1-mac-after-the-last-update-of-arm64-v8a 😊

nohli avatar Jul 18 '21 17:07 nohli