It drives me crazy. Like these people, slow-android-emulator , I find that starting the emulator from eclipse is slow and problematic. As I said, I tried to run the emulator separately. But then I do not get the latest changes. I do not know eclipse very well, but I would like something like "build", and then somehow load the last image into the emulator.
In addition, I tried to keep the emulator open and constantly use run-> debug, but after 2 or 3 times I get the following errors:
Failed to install HelloAndroid.apk on device 'emulator-5554': timeout
Launch canceled!
emulator: ERROR: the user data image is used by another emulator. aborting
Waiting for HOME ('android.process.acore') to be launched...
emulator-5554 disconnected! Cancelling 'com.example.helloandroid.HelloAndroid activity launch'!
java.lang.NullPointerException
at com.android.ddmlib.Client.sendAndConsume(Client.java:571)
at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
at com.android.ddmlib.Client.getJdwpPacket(Client.java:670)
at com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)
I tried killing and restarting the adb server to no avail.
In short, I would just like a βsystemβ where I can effectively make changes, upload them to the emulator and test them.