Eclipse 与模拟器无法连接报:The connection to adb is down, and a severe error has occured.异常

来源:互联网 发布:三层和唐唐的淘宝店 编辑:程序博客网 时间:2024/06/02 03:59

首先打开cmd 准备工作做好。

 

 键入到你自己SDK所在的路径(PScd跳转到文件夹  

 

例如:F:\eclipse\sdk\platform-tools\ 

然后开始工作了

首先killadb   adb kill-server

然后start   adb start-server

如果启动不了

说明又被占用的嫌疑(PS:此时请开始窥测电脑上的XXX助手之类的软件是否运行)

cmd窗口:
C:\Users\
。。。>adbnodaemon server
cannot bind 'tcp:5037'

然后C:\Users\。。。> netstat-ano | findstr "5037"

如果有个1234(举例而已)出现LISTING说明被占用

C:\Users\。。。。>tasklist| findstr "1234"

 

将这个进程kill掉:
C:\Users\
。。。>taskkill/f /pid XXX

阅读全文
0 0
原创粉丝点击