Problem
When I run an Android Application helloandroid, the program is blocking the following sentences.
========================================================== ========================================================== ==================
[10:48:39-helloandroid] ----------------------------------
[10:48:39-helloandroid] Android launch!
[10:48:39-helloandroid] ADB is running normally.
[10:48:39-helloandroid] Deming com. example. helloandroid. helloandroidactivity launch
[10:48:39-helloandroid] Automatic Target mode: launching new emulator with compatible AVD 'my _ avd'
[10:48:39-helloandroid] launching a new emulator with virtual device 'my _ avd'
[10:48:48-helloandroid] New emulator found: emulator-5554
[10:48:48-helloandroid] waiting for home ('android. process. acore') to be launched...
[10:49:09-SDK manager] Warning: Ignoring platform 'android-12.7z', not a folder.
[5554 10:50:25-helloandroid] Home is up on device 'emulator-100'
[5554 10:50:25-helloandroid] uploading helloandroid.apk onto device 'emulator-8080'
[10:50:25-helloandroid] installing helloandroid.apk...
[10:51:57-helloandroid] success!
[10:51:58-helloandroid] Starting activity com. example. helloandroid. helloandroidactivity on device emulator-5554
[10:52:01-helloandroid] activitymanager: Starting: intent {act = android. intent. action. main cat = [android. intent. category. launcher] CMP = com. example. helloandroid /. helloandroidactivity}
========================================================== ========================================================== ======/=
Fixed problem========================================================== ====================================
When the program runs to this step as shown above, I view the emulator without "Hello android! "Output. based on my knowledge at that time, I suspect the application is crash or emulator is down. in fact, due to loading emulator at the first time, the application ''helloandroid 'executes slowly. so when I restart the emulator manually and rerun the app, "Hello android" is shown on the emulator I defined.
How to start an emulator manually?
I just show how to start it in eclipse.Start eclipse, And then selectWindow-->Android SDK and AVD manager,As shown in the following figure1.1. selectVirtual Devices, If there is a emulator, select it and then clickStartButton. If not, click the buttonNewTo create a new AVD.
Figure 1.1 manually starting AVD