I am brand new to Eclipse and Android, but somewhat familiar with Java. That having been said, I tried to follow the \'Hello Android\' tutorial from the developer site usin
No direct experience, but this seems to be a recurrent issue:
This thread suggests:
You haven't let the emulator boot all the way up. Start it then wait until you see a desktop, just like on a real phone.
This one mentions (I suspect point 1. is not a concern for you):
Get more RAM. I was running on 256 MB (which I believe is below minimum requirements), just upgraded today to 1024 MB (long time coming), application now starts fine. Although I still do see some error messages in the emulator, they don't seem to actually do anything.
Install from command line. This is a bit laborius, but you can launch an emulator from the command line (assuming
is added to your PATH variable) just type emulator, then browse to the location of\tools your_app_here.apk, and execute
adb install your_app_here.apk
If you launch the emulator from Eclipse, execute
adb kill-serviceand thenadb start-servicefirst (orkill-server/start-server. not sure the exact commands). Then your app will be installed on the emulator.
Also (a bit old but might still be relevant)
Maybe the emulator is running so slow, and the adb server, or another component like "DDMS" is a little "desperate" because seems it's waiting to the emulator to iniatialize the some
HOMEaplication.
But the emulator is running slow, the console in Eclipse send a message:emulator-5554 disconnected! Cancelling 'com.android.hello.HelloAndroid' launch!;and the emulator continues running normally and boot it's system, but don't run application that I build.So for that problem I run program, and when the emulator is opened, I go back to eclipse in DDMS Perspective and in the Device tab y press a button "
restart adb server" before the console shows me the message of "emulator-5554 disconnected!".
I do it several times until the emulator finally boot the OS.
After booted the OS on the emulator, eclipse don't send that disconnect error, and "sends" the app that I've built, also the console shows messages about this.
Then finally appears on the mobile "Hello, Android".