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:
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.