The connection to adb is down, and a severe error has occured问题的解决

来源:互联网 发布:java互联网轻量级开发 编辑:程序博客网 时间:2024/05/16 08:47
 [2012-07-18 16:18:26 - ] The connection to adb is down, and a severe error has occured.
 [2012-07-18 16:18:26 - ] You must restart adb and Eclipse.

 [2012-07-18 16:18:26 - ] Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\adb.exe' and can be executed.


      在更新adt后重新运行eclipse时,会经常发生上面的异常提示。针对 Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\adb.exe' and can be executed.的解决,网上也很多方式。大部分是说因为5037端口被占用,adb.exe没有启动。清除后就OK。

     如果adb.exe没有运行的话,其他方法也许可以解决。但我遇到的情况是adb.exe已经在运行。最后查The connection to adb is down, and a severe error has occured.问题得到了启发。因为\sdk\tools\中没有hprof-conv.exe文件,把文件从sdk\platform-tools中复制一份到tools内就OK了。

0 0
原创粉丝点击