Can't dispatch DDM chunk 46454154: no handler defined - Eclipse - Android SDK

☆樱花仙子☆ 提交于 2019-12-10 15:54:50

问题


I'm working on a Windows 7, 64 bit machine, and just downloaded and installed the Android SDK and am using Eclipse with Android plugin.

I was just going through the "Hello Android" guide here: Hello, Android

I also did the suggestions on this page: Droid FAQ

Before following the FAQ, the program would compile and run but wouldn't register with the emulator. No code changes, and now I get the following.

When I try to run the emulator, I get the following message:

[2010-03-05 20:48:41 - HelloAndroid]ActivityManager: Can't dispatch DDM chunk 46454154: no handler defined
[2010-03-05 20:48:41 - HelloAndroid]ActivityManager: Can't dispatch DDM chunk 4d505251: no handler defined
[2010-03-05 20:48:42 - HelloAndroid]ActivityManager: Starting: Intent { comp={domain.example.helloandroid/domain.example.helloandroid.HelloAndroid} }
[2010-03-05 20:48:42 - HelloAndroid]ActivityManager: Warning: Activity not started, its current task has been brought to the front

Any suggestions? Thanks!


回答1:


I'm not sure what you mean by it wouldn't register with the emulator, but I get the exact same error messages every time I run a program. However, it hasn't stopped my programs from compiling and running on both my emulator and actual phone.

(Edit: I should add that I'm compiling using Eclipse with both Android v1.5 and 2.1 installled, and those messages appear in LogCat when I run programs on my v1.5 emulator. Haven't checked with the v2.1)

As for the second two lines in the error message, particularly the Activity not started, that's simply because you didn't change the code before trying to install it again. A simple fix for that is to remove a character (anything really) and then put it back in. That forces it to 'rebuild the workspace' when you save, which in turn forces it to reinstall on the emulator.



来源:https://stackoverflow.com/questions/2391654/cant-dispatch-ddm-chunk-46454154-no-handler-defined-eclipse-android-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!