My android project was compiling well but suddenly it stopped launching. Then I tried to launch other projects from Project Explorer and all project threw same exception:
This is a cause of AVD is not picked because you might delete it or it is not picked up correctly ... in other words deployment target is not specified or it has some problem in picking up a device.
To Resolve this:
If it still not working restart Eclipse
Got the similar issue after update the project able to procced.
Right click on the project -->Maven --> Update Project
I had the same issue all of a sudden. This only happened when I ran in Debug mode, and for me what fixed it was... Run -> Remove All Breakpoints. Then I could add them back, and it ran in debug mode fine.
In my case, it was because I was running it with Debug As -> Android Native Application
, while the emulator was closed (I debugging on the emulator, not on a real phone).
I needed to first start the emulator using Debug As -> Android Application
, after which Debug As -> Android Native Application
will work.
Close the emulator and the error re-appears. My conclusion is that Debug As -> Android Native Application
won't work unless the emulator is already started.