异常描述:在Eclipse中运行Android项目时Console中出现:
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 'D:android-2.2-windowsplatform-toolsadb.exe' and can be executed.
之前遇到这个问题时我首先重启eclipse,然后问题得到解决,但是今天即使重启了eclipse还是会出现这样的问题,之后又重启了一下计算机,但是还是会出现这个问题。
之后我用cmd切换到adb目录下,使用 adb kill-server adb是能够杀死的,但是用adb start-server时却出现了异常,如下所示
* daemon not running. starting it now * ADB server didn't ACK * failed to start daemon *
解决办法:
1.打开任务管理器,关闭所有的adb.exe
2.重启eclipse,运行android的程序
到此问题解决了。