Recently upgraded to Android Studio from 2.2.3 to 2., running on Win10
Emulator stopped working since then. Tried installing other images(25 rev 4)/upgrading for AVD
I solved by modifying my configuration on AVD.
1) Go to the AVD Manager
2) Click "Edit this AVD" Button (the pencil icon).
I had no device selected and it showed an error message that I need to select a device for the AVD to work. Once I did that and saved my emulator worked.
I was also having the same issue 2 days ago when i update my android studio, today I solve my issue when I was playing around with settings then I saw that in my SDK tools setting Android Emulator is uncheck so I simply checked that box and now emulator is working fine.
Try this steps may work for you also:
There are changes, though it's installed, you might need to update
I had another Android emulator running in the background, completely separate from Android Studio. I saw it in the list when I loaded ADB, so it was detected for some reason, but I ignored it. Anyway, when I closed it, this error went away and I was able to load my app no problem. Specifically, I had BlueStacks loaded. So, if you use BlueStacks or another Android emulator, close that as that might be the problem.
After lots of attempts, stopping device from AVD(exactly from AVD, not by cross button nor power off button on emulator) and starting build again helped me.
If none of the previous answers solved your problem, I suggest you to check KVM errors. Even if you did not install KVM it's possible you to get KVM errors when you try to run x86 images. Open a terminal and type dmesg | grep kvm
after starting emulator. This way you will be able to see if you get KVM errors.
On my Ubuntu 16.04 machine with Android Studio 2.3.3 installed on it, the problem was about KVM. Android Studio was trying to enable KVM for x86 images. When I try to start the emulator, dmesg
showing errors "kvm: enabling virtualization failed." Although ARM images were working fine.
After installing KVM, I was able to run x86 images on emulator without errors.
If this is the problem you are encountering, you might want to checkout KVM installation page.
I have the same issue with the new update about Quick boot
.
Unfortunately I had to disable it to make the emulator working again.
Android Studio -> tools -> Android -> AVD Manager -> edit your emulator -> Show Advanced Settings -> select Cold boot