Problem


When i run an Android application HelloAndroid, the program is blocking the following sentences.

 

=============================================================================================

[2011-06-17 10:48:39 - HelloAndroid] ------------------------------

[2011-06-17 10:48:39 - HelloAndroid] Android Launch!

[2011-06-17 10:48:39 - HelloAndroid] adb is running normally.

[2011-06-17 10:48:39 - HelloAndroid] Performing com.example.helloandroid.HelloAndroidActivity activity launch

[2011-06-17 10:48:39 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'My_AVD'

[2011-06-17 10:48:39 - HelloAndroid] Launching a new emulator with Virtual Device 'My_AVD'

[2011-06-17 10:48:48 - HelloAndroid] New emulator found: emulator-5554

[2011-06-17 10:48:48 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...

[2011-06-17 10:49:09 - SDK Manager] Warning: Ignoring platform 'android-12.7z', not a folder.

[2011-06-17 10:50:25 - HelloAndroid] HOME is up on device 'emulator-5554'

[2011-06-17 10:50:25 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'

[2011-06-17 10:50:25 - HelloAndroid] Installing HelloAndroid.apk...

[2011-06-17 10:51:57 - HelloAndroid] Success!

[2011-06-17 10:51:58 - HelloAndroid] Starting activity com.example.helloandroid.HelloAndroidActivity on device emulator-5554

[2011-06-17 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 select Window --> Android SDK and AVD Manager, as shown in the following figure1.1. Select Virtual Devices, if there is a emulator, select it and then click the Start button. If not, click the button New to create a new AVD.

 

Figure 1.1 Manually starting AVD

 

 

 

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. 深入浅出Android Gradle构建系统(三:buil
  2. Android实现透明指示层
  3. Android NDK编译 ndk-build方式
  4. Android游戏开发之旅系列一
  5. Android 屏幕旋转(一):旋转设置
  6. Content Provider的经典详细讲解
  7. Android学习小Demo(8)SQLiteDatabase的使用
  8. Android图灵机器人的实现(一)
  9. Android 根文件系统分析(2)
  10. Android画图之抗锯齿(转)