Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator won't shut down

The emulator starts up fine. But when you long-press the power button (or F7) and choose "Power off", it displays a "Shutting down" message which remains on-screen forever and the emulator won't actually shut down.

I can close the emulator window or kill its process. But I'm wondering if this is the correct way to shut down an Android emulator.

like image 827
Cyker Avatar asked Oct 26 '12 00:10

Cyker


People also ask

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.

Why is my Android Emulator not working?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.


2 Answers

  1. Open Android Studio
  2. Go AVD Manager
  3. Go Actions Tab
  4. Click arrow
  5. You will see stop
  6. Click and emulator shut down :)

If the device is stopped in a bad state, this may persist when relaunching the emulator. To get around this, simply select 'Cold Boot Now' from the virtual device's drop down menu in the manager.

like image 186
kablanfatih Avatar answered Oct 04 '22 23:10

kablanfatih


According to the documentation I found at google, simply closing the emulator window is the correct way to shut the emulator down.

To stop an emulator instance, just close the emulator's window.

Source: Starting and Stopping the Emulator

like image 34
fhw72 Avatar answered Oct 04 '22 22:10

fhw72