eclipse The connection to adb is down, and a severe error has occured

在eclipse运行写好的android程序,结果提示:eclipse The connection to adb is down, and a severe error has occured

网上说很多是因为进程里面有了adb运行,关闭就行, 不过我的就没有,

后来找到, 原因,是端口被占用了。
ADB默认使用5037端口,所以在CMD里面运行
netstat -aon|findstr "5037"
看一看是哪个进程占用了, 然后再任务管理器关闭就可以了,
我的是豌豆荚的一个进程占用了,
然后重启eclipse,  OK

猜你喜欢

转载自lucky16.iteye.com/blog/1669149
今日推荐