Android应用程序未在仿真器上运行
问题描述:
[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”是错误消息。Android应用程序未在仿真器上运行
答
“Can not dispatch DDM chunk”消息可能不是真正的问题。它们在应用程序启动时出错。可能是因为您忘记将第一个活动放在AndroidManifest中或将其指定为Launcher;或者第一个活动的@OnCreate方法有错误。
你能为我们发布一些代码吗? – Mike 2010-06-15 06:38:37
重新启动系统可以提供帮助。它发生在我身上一次 – the100rabh 2010-06-15 08:54:33