开发者

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

开发者 https://www.devze.com 2022-12-22 06:26 出处:网络
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'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 h开发者_开发问答andler 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!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消