使用eclipse开发时,编译运行android应用的时候出现了如下问题:
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 'E:\adt-bundle-windows-x86_64-20140624\sdk\platform-tools\adb.exe' and can be executed.
报错说明要重新启动adb,操作如下。
在Eclipse中进入DDMS模式:
点击Devices中向下的三角箭头:
点击Reset abd,又发现有如下报错:
检查5037端口被谁占用了,杀掉该进程:
再Reset adb,即可成功。
之后再运行Android程序,不会再出错了。