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 process for some minutes but never the gui. In Android studio I get the error
android studio Error while waiting for device: The emulator process
for AVD was killed
This happens even if I run the emulator outside Android Studio. I have tried with both aa Android 6 and Android 4.4 based emulator.
Running on a Windows 7 x64 PC. Similar post to another stackoverflow post which was closed. I have tried various ram, vm heap and resolution settings.
For me it seems it was a problem that OpenGL didn't work on my Windows 10 machine. I fixed it as follows:
- Go to: Tools > Android > AVD Manager
- Press the "edit" (pencil) icon next to your AVD
- Change "Graphics" to "Software".
Install the Intel x86 Emulator Accelerator worked for me.
Just restarting the pc and studio solved my problem!
I think this is problem of Android studio 2 Update or Problem to solve please Update also Android sdk version also then work properly.
Update your Android SDK via Android SDK Managager.
It will probably work fine!
goto tools>android>sdkmanager and update emulator and install related API level.It worked for me
I also had problem like this.. and how i fixed that:
1. I choosed one of the older version for Android VDM(System image) - first,I used a version 28(Oreo i this it was) after that I
switched to older one , to 25(Nougat)..
2. I just change "Graphics" to "Software".
If your HAMX is installed and turning to Software didn't help try to check if virtualization is enabled in BIOS. You need to go to BIOS and enable it