'Android Emulator closes itself

Month or couple ago my emulator started to get close (maybe crash?) every time I press ctrl button on keyboard or when I click emulator's rightside buttons (take screenshot, rotate screen etc..).

It's very annoying, how to resolve it?



Solution 1:[1]

Solution.1

By setting the Graphics option on the Android Virtual Device to Software instead of Automatic or Hardware. Once you did that the emulator device started up great and everything worked.

Or

Go to Menu->Tools->Android and uncheck the option Enable ADB Integration Run the application. Now the emulator will be launched, but the app will not run. Once the emulator is fully launched, check the Enable ADB Integration option and re-run the app. Now the app will be launched in the already running emulator.

Solution.2

You might have forwarding enabled on adb. You can try this: Quit Android studio and launch terminal. Run these commands:

  • adb kill-server
  • adb forward --remove-all
  • adb start-server

Now you can launch the Android Studio and try again.

I hope one of the solution work for you. Thank You!!!

Solution 2:[2]

i made oneother divice with lower sdk version and worked for me, latest version was 11, so i made the new device in emulator with sdk v10

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kalpesh Rupani
Solution 2 Behnam Abdy