The connection to adb is down, and a severe error has occured. 错误信息
先说说我遇到的情况是什么样的吧,我刚刚装完eclipse的时候用的好好的,过了两天突然就提示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:\setups\android\android-2.1_r01-windows\tools\adb.exe' and can be executed.
然后我就百度,问同学,试过cmd关闭adb,也试过重新修改环境变量,但是都没有用。
后来我在sdk文件夹中有一个文本 路径为sdk\toos\adb_has_moved ,结果按照里面的去查找,终于让我找到了解决我的错误方法。
那就是: 找到你的android-sdk-windows\platform-tools目录,打开后会发现里面有许多文件。
找到adb.exe,AdbWinApi.dll,AdbWinUsbApi.dll这三个文件,将这三个文件拷到你android-sdk-windows\tools目录下。
我开始的时候也看过考文件的,但是我只考 adb.exe 结果没有什么用, 后来我把三个文件都考过来的时候,运行就成功了。
感谢!

浙公网安备 33010602011771号