无法调度DDM块46454154:没有处理程序定义 - Eclipse - Android SDK [英] Can't dispatch DDM chunk 46454154: no handler defined - Eclipse - Android SDK

查看:171
本文介绍了无法调度DDM块46454154:没有处理程序定义 - Eclipse - Android SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Windows 7,64位机器,只是下载并安装了Android SDK,并使用带有Android插件的Eclipse。



我只是在这里通过Hello Android指南:
你好,Android



我也在此页面上提出了建议: Droid常见问题



在执行常见问题之前,程序将编译并运行,但不会注册模拟器。没有代码更改,现在我得到以下内容。



当我尝试运行模拟器时,我收到以下消息:

  [2010-03-05 20:48:41  -  HelloAndroid] ActivityManager:不能调度DDM块46454154:没有处理程序定义
[2010-03- 05 20:48:41 - HelloAndroid] ActivityManager:无法调度DDM块4d505251:没有处理程序定义
[2010-03-05 20:48:42 - HelloAndroid] ActivityManager:启动:Intent {comp = {domain .example.helloandroid / domain.example.helloandroid.HelloAndroid}}
[2010-03-05 20:48:42 - HelloAndroid] ActivityManager:警告:活动未启动,其当前任务已被带到前端

任何建议?谢谢!

解决方案

我不知道你的意思是不会在模拟器上注册,每次运行程序时都会出现相同的错误消息。但是,它没有阻止我的程序在我的模拟器和实际手机上编译和运行。



(编辑:我应该补充说,我正在使用Eclipse编译Android v1.5和2.1都安装了,当我在v1.5仿真器上运行程序时,这些消息出现在LogCat中,没有使用v2.1进行检查)



对于错误消息中的第二行,特别是Activity未启动,这只是因为您在尝试重新安装之前未更改代码。一个简单的解决方案是删除一个字符(任何事情真的),然后将其重新置入。这迫使它在保存时重建工作区,这反过来迫使它重新安装在仿真器上。


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!

解决方案

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.

这篇关于无法调度DDM块46454154:没有处理程序定义 - Eclipse - Android SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆