I am using Eclipse and I am building an Android application. I have created a new Android application project in which I created a blank activity(just check the checkbox). The application is a basic Hello World, I have made no changes to the application that was created by default. I start the application by clicking run as -> Android Application. The Android Virtual Device starts, but the activity does not. Any ideas what might be wrong.
This is the console output:
[2012-10-31 06:39:28 - newand] ------------------------------
[2012-10-31 06:39:28 - newand] Android Launch!
[2012-10-31 06:39:28 - newand] adb is running normally.
[2012-10-31 06:39:28 - newand] Performing com.example.newand.MainActivity activity launch
[2012-10-31 06:39:28 - newand] Automatic Target Mode: launching new emulator with compatible AVD 'androidEMP'
[2012-10-31 06:39:28 - newand] Launching a new emulator with Virtual Device 'androidEMP'
Sometimes the AVD is started but fails to load the application. Try starting the avd first and then running the application within it.
If it still fails, you can to try restarting the adb server from the command line (you need to have installed the adb tools for this) :
Sometimes another AVD will open even if one is active. In that case, Close the old avd and let the new one be open. Then try killing and restarting the adb server.