ActivityManager:无法调度 DDM 块
我是 Android 开发新手,在简单的操作上遇到了麻烦 你好世界应用程序.. 昨天它在 Android 虚拟设备上与模拟器一起工作 1.5
当我一天后运行应用程序时,它卡在 android 启动处 屏幕不断输出以下内容:
[2012-02-17 23:40:03 - HelloWorldAndroid] Starting activity
com.mathias.HelloWorldAndroidActivity on device emulator-5554
[2012-02-17 23:40:05 - HelloWorldAndroid] ActivityManager: Can't
dispatch DDM chunk 46454154: no handler defined
[2012-02-17 23:40:05 - HelloWorldAndroid] ActivityManager: Can't
dispatch DDM chunk 4d505251: no handler defined
[2012-02-17 23:40:06 - HelloWorldAndroid] Device not ready. Waiting 3
seconds before next attempt.
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: INTENT is
described with:
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-a
<ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-c
<CATEGORY> [-c <CATEGORY>] ...]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-e|--es
<EXTRA_KEY> <EXTRA_STRING_VALUE> ...]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [--ez
<EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> ...]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-e|--ei
<EXTRA_KEY> <EXTRA_INT_VALUE> ...]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-n
<COMPONENT>] [-f <FLAGS>] [<URI>]
我搜索了谷歌,发现几个人有同样的问题,但我无法找到解决方案。
我正在运行 Eclipse Indigo Service Release 1
期待更多应用程序开发,当我开始工作时:-) 提前致谢!
/马蒂亚斯
I'm new to Android development, and I'm having trouble with a simple
Hello World app..
It worked yesterday with the emulator, on a virtual device with Android
1.5
When I run the app a day after, it's stuck at the android startup
screen continuously outputting the following:
[2012-02-17 23:40:03 - HelloWorldAndroid] Starting activity
com.mathias.HelloWorldAndroidActivity on device emulator-5554
[2012-02-17 23:40:05 - HelloWorldAndroid] ActivityManager: Can't
dispatch DDM chunk 46454154: no handler defined
[2012-02-17 23:40:05 - HelloWorldAndroid] ActivityManager: Can't
dispatch DDM chunk 4d505251: no handler defined
[2012-02-17 23:40:06 - HelloWorldAndroid] Device not ready. Waiting 3
seconds before next attempt.
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: INTENT is
described with:
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-a
<ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-c
<CATEGORY> [-c <CATEGORY>] ...]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-e|--es
<EXTRA_KEY> <EXTRA_STRING_VALUE> ...]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [--ez
<EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> ...]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-e|--ei
<EXTRA_KEY> <EXTRA_INT_VALUE> ...]
[2012-02-17 23:40:06 - HelloWorldAndroid] ActivityManager: [-n
<COMPONENT>] [-f <FLAGS>] [<URI>]
I've searched google and found several people with the same problem, but I was unable to find a solution.
I'm running Eclipse Indigo Service Release 1
Looking forward to more app development, when I get this working :-)
Thanks in advance!
/Mathias
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当 SDK 安装出现问题时,我通常会看到“无法调度 DDM 块”。确保您没有两个不同的 Android SDK 副本,并且没有混合和匹配它们(例如,您在 Eclipse 中使用一个 SDK 副本,同时从命令行使用另一个 SDK 副本)。
I usually see "Can't dispatch DDM chunk" when there are issues with the SDK installation. Make sure that you do not have two different copies of the Android SDK and are mixing and matching them (e.g., you are using one SDK copy with Eclipse and a different SDK copy from the command line at the same time).
我读到,这是一条消息,意味着您的应用程序要求和 AVD 稍微不兼容。例如,如果您出于广告目的安装了 Android 3.2,并且在 Android 2.1 模拟器上测试该应用程序,您将收到此消息。
一件重要的事情是,您必须在清单文件中提供 minSDKVersion 和 targetVersion 。
I have read that it is a message that means that your app requirements and AVD are slightly incompatible. For example, if you have Android 3.2 installed for ad purposes, and you test the app on a Android 2.1 emulator, you will get this message.
And one important thing is that, you've to provide minSDKVersion and targetVersion in manifest file.