Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator starts but Eclipse doesn't recognize it

Tags:

As a general rule, everything works fine, but then sometimes either Eclipse or my Android emulator decides to be a jerk and refuses to work.

I open the AVD Manager in Eclipse. I choose which AVD I want and click Start. The emulator starts up and it goes through the loooong process of booting. It finally finishes booting and then for some reason, it immediately reboots and goes through the looong process of booting again. Once it boots the second time, Eclipse loses track of it. It is no longer lists in the Devices tab and I can't install my app or run it on that emulator. If I kill the emulator and try to start it over, then I get the exact same behavior. It's incredibly frustrating.

There are no messages happening in the console to explain the behavior. Any idea why this is happening?

like image 911
Kenny Wyland Avatar asked Apr 03 '11 04:04

Kenny Wyland


People also ask

Why is my Android emulator on Android Studio not working?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

Why is my AVD not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. Restart Android Studio and then try to start the AVD again.


1 Answers

That's a known issue when adb starts before the emulator. I don't know the real reason, but a quick workaround is to restart adb in the command prompt (with the emulator running)

> adb kill-server
> adb start-server

Now,

> adb devices

will return the emulator and Eclipse will be able to install the app.

like image 183
Aleadam Avatar answered Oct 21 '22 05:10

Aleadam