最近频繁遇到此错误:
The connection to adb is down, and a severe error has ocurred.
You must restart adb and eclipse.
Ensure that adb is in this path '/PATH/TO/adb'.
就在这里怎么可能找不到?
看错误第一反应就是重启 Eclipse 和 adb,无果
网上搜了一大堆,大致都一样: 杀死 adb 或者 占用和 adb 相同端口的程序,还有把文件复制来复制去的,更有甚者重装 ... 无果
万能的互联网也找不到?
最后在 Stack Overflow 上发现一个 答案 解决了我的问题:
- 打开 DDMS (Window -> Open Perspective -> Other -> DDMS)
- 找到到左侧窗口三角形符号,点击弹出下拉列表选择 reset adb
- Done
希望对遇到的朋友有帮助
天下乌鸦一般黑可没劲了