I am going through the Android Hello World, but when I go to Run > Run in Eclipse, it loads the emulator, takes a few moments, then loads the Android home screen. My app does not load automatically like the tutorial says, and I can’t find it in the applications list.
How do I get my app to launch? What might I have done?
I am using Eclipse, and targeting Android 2.2
EDIT*
When I run the application from Eclipse, I get this output in the concole:
// Android Launch!
// adb is running normally.
// Performing com.adamharte.helloandroid.HelloAndroid activity launch
// Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
// Launching a new emulator with Virtual Device 'my_avd'
The emulator start on a black screen saying “android_” then shows a shimmering blue android logo, then goes to the “unlock” screen. I drag the lock to the right, and it goes to the android home screen. I can’t find my “HelloWorld” app on any of the home screens, or applications list.
You have to make sure you have install the correct packages in the Android SDK and AVD Manager. To be safe just install all the available packages. You then have to make sure you have the correct path set to your SDK in Eclipse.
Also make sure you have made an Android Virtual Device (AVD) for the target you will be using.
To be extra save, run everything “as administrator” when you are installing or configuring.