Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio doesn't recognize the running emulator

When I run my app from AndroidStudio 0.4.3 using Run I see Choose Device which has two sections choose a running device or Launch Emulator. I don't have a running emulator at the moment so I click the ... to launch AVD manager and start an emulator. At this point I see that under choose a running device the emulator I just launched shows up but its listed as offline.

In the past the offline status went away when the emulator was fully up and running. However, now I've noticed that when the emulator is launched fully, it no longer appears in choose a running device.

I feel like I'm always playing cat and mouse game with android studio picking up the emulator. Is there a better way to do this? Am I missing something?

like image 322
Anthony Avatar asked Feb 04 '14 00:02

Anthony


People also ask

Why is the emulator not showing in Android Studio?

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 Android Studio is not running the app?

Unplug your device from the USB port on the computer. Restart the device by powering off and back on. Verify that Settings => Developer options => USB Debugging is enabled. Quit and re-launch Android Studio.


1 Answers

Disable and then Enable ADB Integration

In Android Studio go to

  1. Menu -> Tools
  2. Android
  3. Enable ADB Integration (should be checked, click to remove check)
  4. Enable ADB Integration (should not be checked, click to add check)

Run your app again. Emulator that was previously missing from Run dialog should be available to be selected upon which to run your app.

like image 200
Baker Avatar answered Sep 25 '22 10:09

Baker