You must restart adb and Eclipse问题的解决

本文解决了Android开发中真机调试无法运行的问题。控制台提示ADB连接错误,通过将缺失的hprof-conv.exe文件从platform-tools目录复制到tools目录下,成功解决了该问题。

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

更新android SDK后遇到N多的问题,其中之一即是真机调试不能运行,控制台提示如下:

The connection to adb is down, and a severe error has occured.
  You must restart adb and Eclipse.
  Please ensure that adb is correctly located at '.../tools/adb.exe' and can be   executed.

网上查了一下,一般说是adb进程被占用,解决方案也给出了好多,但是都没能解决。

后来想起来consol报的第一个错误提示其实为如下错误消息,只不过很快就消失了没有引起注意。

DDMS files not found: ...\Android-eclipse\adt-bundle-windows-x86-20131030\sdk\tools\hprof-conv.exe 

去如上目录下确认hprof-conv.exe 文件不存在,但在【...\Android-eclipse\adt-bundle-windows-x86-20131030\sdk\platform-tools】目录下发现了,即将此文件拷贝到tools文件夹下问题解决,具体原因没有去进一步调查。


评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值