Android应用未在模拟器上运行

时间:2010-06-15 06:33:24

标签: android emulation android-ndk

[2010-06-15 12:01:37 - helloNDK]Android Launch!
[2010-06-15 12:01:37 - helloNDK]adb is running normally. 
[2010-06-15 12:01:37 - helloNDK]Performing com.android.helloNDK.helloNDK activity launch
[2010-06-15 12:01:37 - helloNDK]Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'my_avd'
[2010-06-15 12:01:37 - helloNDK]Uploading helloNDK.apk onto device 'emulator-5554'
[2010-06-15 12:01:37 - helloNDK]Installing helloNDK.apk...
[2010-06-15 12:01:40 - helloNDK]Success!
[2010-06-15 12:01:40 - helloNDK]Starting activity com.android.helloNDK.helloNDK on device 
[2010-06-15 12:01:41 - helloNDK]ActivityManager: Can't dispatch DDM chunk 46454154: no handler defined
[2010-06-15 12:01:42 - helloNDK]ActivityManager: Can't dispatch DDM chunk 4d505251: no handler defined
[2010-06-15 12:01:42 - helloNDK]ActivityManager: Starting: Intent { comp={com.android.helloNDK/com.android.helloNDK.helloNDK} }

当我在eclipse中运行应用程序时,它表示应用程序存在问题,需要关闭。 “无法调度DDM”是错误消息。

1 个答案:

答案 0 :(得分:1)

“无法调度DDM块”消息可能不是真正的问题。它们在应用程序启动时出错。可能是你忘记将第一个活动放在AndroidManifest中或将其指定为Launcher;或者第一个活动的@OnCreate方法中有错误。