DDM dispatch reg wait timeout , Can't dispatch DDM chunk 解决方法

本文深入探讨了在使用ADB安装Android应用时偶尔出现的DDMdispatchregwaittimeout错误消息的原因及解决方案。通过分析错误信息,解释了这些问题为何在安装成功后仍然出现,并提供了可能的解决思路。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

目前在用Android的APK安装上曾出现了一个错误讯息

DDM dispatch reg wait timeout

Can't dispatch DDM chunk 52454151: no handler defined
Can't dispatch DDM chunk 48454c4f: no handler defined
Can't dispatch DDM chunk 46454154: no handler defined
Can't dispatch DDM chunk 4d505251: no handler defined


安装照样Success。





上面这四个错误讯息在我使用了adb install -r xxx.apk 后偶而会发生, 却一直不知道详细原因,
我是偏执狂,一定研究一下这是什么原因...






拜Google大神....发现一堆人都有相同的问题提问着, 不过却都是模拟两可的答案, 有人说是
AVD跟模拟器的版本问题, 也有​​人说是在安装时候原来的APK都还在跑....等等.....

都不对!网上的菜B很多啊。


This is slightly different, but yes it is benign.


When installing/launching app, the tools use java based tools on the
device to perform these operation (shell command 'am' and 'pm' which
stand for activityManager and packageManager).
Because these apps run in VM, they show up on DDMS which then tries to
connect to them like any other apps. But because those apps are very
short lived they usually don't answer to some request, which ends up
with a timeout and these error messages.


This output is so benign in fact that we removed it from newer version
of the VM.

评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值