views:

47

answers:

3

Hello. i started to develop android apps a few days ago. But i'm stuck with this problem. using Eclipse. with ADT. and creating the simple "helloWorld" or any of the other sample applications, when i Run the project eclipse launch the android emulator but it shows only the skin, with the screen saying "ANDROID", and that's it!, it's unresponsive to anything i do in the code. why is that?, what can i do to solve it?. it happens targeting both 2.2 and 1.5 versions, i haven't tested the others yet..

i'm following the tutorials from the android developers site, and the behavior i'm seeing is not what says there. Thanks for the Help!!.

A: 

The emulator will show "ANDROID" when it's loading. You will have to give it a minuto for it to start. If it does not start it could be cause for several reasons: for instance, if your computer don't have enough resources to run the emulator, or if there are internal problems with the SDK, etc. Try to run the emulator from the SDK folder and see if it works; if not, the problem could be your computer.

Cristian
.. and check the logfile via "adb shell logcat" from command line to check if there are any errors. Also check the Output console tab in Eclipse/DDMS if it gives an error.
Mathias Lin
A: 

Cristian's right - the "ANDROID" display is the loading screen. Give it a minute or two - if the main screen does not appear then, there may be some sort of problem. If so, you may also want to check that you created the emulator properly (a.k.a. for the version you are using, etc).

If the main screen does eventually show, then the loading process is simply slow. To deal with this during development, I would suggest leaving the emulator open when you compile and run your application code. The old version of the application will be replaced by the new one, and the app will automatically restart.

tlayton
thanks tlayton. i will try your suggestion and keep the emulator open, when i return home tonight.
Alexander
A: 

Yes it takes about five minutes (:S) to launch the application. now i remember that reading that in the tutorial, but i guess i wasn't expecting it to take so long...

i Hope this can be improved, it's very hard to develop an application if you have to wait that long every time you want to test what you're doing.

Alexander