After updating to Android Studio 2 when I try to run my application and choose an emulator, I wait for the emulator to start and it suddenly gets killed. I can see emulator
For my case i need to close Virtualbox
I think this is problem of Android studio 2 Update or Problem to solve please Update also Android sdk version also then work properly.
For Android Studio v4.1 and above:
Menu -> Android Studio -> Preferences -> Tools -> Emulator
Uncheck Launch in a tool window option.
I have been struggling with the The emulator process for AVD Pixel_2_API_30 was killed for a while now. I was trying to launch a Pixel 2 API 30 running android 11.0, I tried all the possible solutions but nothing seemed to work. I decided t use a different setup e.g. Pixel 2 API 28 running android 9.0, and it worked perfectly. I am not sure what causes the bug in the higher-level API or android version though... So my suggestion is to change the API and android version IF all of the other solutions didn't work.
this issue can also happen when ANDROID_SDK_HOME
environment variable is pointing to wrong location
Say path to .android
folder is E:\Android\.android
Then ANDROID_SDK_HOME
environment variable value should be E:\Android