Android adb.exe程序启动不起来 具体解决方法
作者: 字体:[增加 减小 ] 类型:转载 时间:2013-12-05 我要评论
这篇文章主要介绍了Android adb.exe程序启动不起来 具体解决方法,有需要的朋友可以参考一下
width="680" height="200" align="center,center" id="iframeu2261530_0" src="http://pos.baidu.com/zcqm?sz=680x200&rdid=2261530&dc=2&di=u2261530&dri=0&dis=0&dai=2&ps=0x0&coa=at%3D3%26rsi0%3D680%26rsi1%3D200%26pat%3D6%26tn%3DbaiduCustNativeAD%26rss1%3D%2523FFFFFF%26conBW%3D1%26adp%3D1%26ptt%3D0%26titFF%3D%2525E5%2525BE%2525AE%2525E8%2525BD%2525AF%2525E9%25259B%252585%2525E9%2525BB%252591%26titFS%3D14%26rss2%3D%2523000000%26titSU%3D0%26ptbg%3D90%26piw%3D0%26pih%3D0%26ptp%3D0&dcb=BAIDU_SSP_define&dtm=BAIDU_DUP_SETJSONADSLOT&dvi=0.0&dci=-1&dpt=none&tsr=0&tpr=1463727677525&ti=Android%20adb.exe%E7%A8%8B%E5%BA%8F%E5%90%AF%E5%8A%A8%E4%B8%8D%E8%B5%B7%E6%9D%A5%20%E5%85%B7%E4%BD%93%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95_Android_%E8%84%9A%E6%9C%AC%E4%B9%8B%E5%AE%B6&ari=1&dbv=0&drs=1&pcs=1087x549&pss=1088x2259&cfv=14&cpl=1&chi=1&cce=true&cec=gb2312&tlm=1462729873<u=http%3A%2F%2Fwww.jb51.net%2Farticle%2F44175.htm<r=http%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3DpCoZb_R4qsiNuhg3RT1bULGrfiqb9TuRSZvimZJXvwGIHlE4h8uFBTNIc5-EgqP1%26wd%3D%26eqid%3D9f85f47a0000d15b00000003573eb098&ecd=1&psr=1097x617&par=1097x594&pis=-1x-1&ccd=24&cja=true&cmi=2&col=zh-CN&cdo=-1&tcn=1463727678&qn=f44afa3b3d781669&tt=1463727677494.64.96.96" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" vspace="0" hspace="0" style="margin: 0px; border: 0px currentColor; border-image: none; vertical-align: bottom;" allowtransparency="true">
经常遇到 Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be executed.
遇到问题描述:
运行android程序控制台输出
[2012-07-18 16:18:26 - ] The connection to adb is down, and a severe error has occured. [2012-07-18 16:18:26 - ] You must restart adb and Eclipse. [2012-07-18 16:18:26 - ] Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be executed.
解决问题:
百度google大家多说的是任务管理器 kill掉adb 或者重启adb server,但我任务管理器就没有adb ,猜测是某个程序占用了adb端口。于是按此思路查找。
5037为adb默认端口 查看该端口情况如下:
netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6540
发现6540占用了 5037端口,继续查看6540的task,发现是wandoujia .如下所示
tasklist|findstr "6540"
wandoujia_daemon.exe 6540 Console 1 4,276 K
接下来问题就好解决了,在任务管理器kill掉wandoujia_daemon.exe ,运行android程序,ok .
1.关闭豌豆荚进程
2.adb kill-server
3.adb start-server
4.重启Eclipse
OK