you must restart adb and eclipse的相关解决办法

运行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 'D:/android-sdk-windows/tools/adb.exe' and can be   executed.

反正重启adb和Eclipse是没有用的。

方法一:

之后有人说将tools和platplatform-tools的路径加到path 还有classpath里面,但是好像没有用

方法二:

adb  kill-server

- startserver

方法三:

直接重启电脑,感觉这个才是最管用,那天就是一下子开了好几个模拟器,之后eclipse就犯二了!

方法四:

一种情况是“豌豆荚”或“手机助手”类软件占用了adb,在任务管理器中停止“豌豆荚”以及adb后重启adb后重启eclipse

注意把任务管理器中的豌豆荚关闭了!

猜你喜欢

转载自daoshud1.iteye.com/blog/2227548