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 but nothing seems to work. After running gradle and showing "waiting for target device to come online" in task bar nothing happens and program doesn't run.
Kindly help
Adding Screenshot:
And:
Try configuring different Android Emulator and using it while running. You current emulator may have some issues. It worked for me.
I had to turn off Parallels Desktop and it started working again without reboot.
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.
worked for me
For me what was happening was the Virtual device never booted.
What fixed this was:
Then I restarted the virtual device and it came on line.
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.