views:

195

answers:

1

Hi there,

I'm currently learning how to create android applications so I started with the basic "Hello World" tutorial over at the Android Developers home page. The code is quite simple but when I run it(I'm using Eclipse and a AVD v2.2), it only shows "Android." It does not go to the Home Screen. I updated everything and I still get the same problem. Is there something I did not or

New errors:

[2010-09-29 09:35:04 - DeviceMonitor]Sending jdwp tracking request failed!

[2010-09-29 09:41:50 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch [2010-09-29 10:16:23 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554' [2010-09-29 10:16:28 - HelloAndroid] Installing HelloAndroid.apk... [2010-09-29 10:20:27 - HelloAndroid] Failed to install HelloAndroid.apk on device 'emulator-5554! [2010-09-29 10:20:27 - HelloAndroid] (null) [2010-09-29 10:20:29 - HelloAndroid] Launch canceled!

A: 

I assume you are using the emulator. You have to be patient; it takes a very long time to start up (several minutes.) You can start the emulator manually by going to the Window menu in Eclipse, selecting "the Android SDK and ADB manager," clicking on the emulator you created and then clicking on the Start button. Wait until you see the home screen. If necessary, unlock it by clicking and dragging the mouse down over the screen until it's unlocked.

If you have access to a physical phone and USB cable, you will have a much better (faster) experience overall.

Good luck!

glenviewjeff
Yeah after 4+ hours it still shows the "Android" screen. I am just going to use a phone for this.
Soliddo Nazo
No, it shouldn't take any more than 5 minutes. If it is hung after that, did you try closing the emulator and manually starting it like I suggested with the window option? If this doesn't work, try setting the Wipe User Data checkbox before startup. Also, so you know, you only have to do this once until you reboot your PC or if somehow the emulator becomes corrupted.
glenviewjeff
Sorry for replying so late but yeah the Wipe User Data did the trick.
Soliddo Nazo
Glad to hear I could help!
glenviewjeff