【问题标题】:Android app not running on emulatorAndroid应用程序未在模拟器上运行
【发布时间】:2010-06-15 06:33:24
【问题描述】:
[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 emulation android-ndk


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-26
    • 2012-08-05
    • 2017-05-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多