手机
当前位置:查字典教程网 >编程开发 >安卓软件开发 >Android adb.exe程序启动不起来 具体解决方法
Android adb.exe程序启动不起来 具体解决方法
摘要:经常遇到Pleaseensurethatadbiscorrectlylocatedat'D:javasdkplatform-toolsadb...

经常遇到 Please ensure that adb is correctly located at 'D:javasdkplatform-toolsadb.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:javasdkplatform-toolsadb.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

【Android adb.exe程序启动不起来 具体解决方法】相关文章:

Android手机内存中文件的读写方法小结

Android 的Bitmap的修改方法

Android 4.1源码编译找不到资源文件解决办法

Android adb.exe程序启动不起来具体解决方法

将文件放到Android模拟器的SD卡中的两种解决方法

在Android中创建菜单项Menu以及获取手机分辨率的解决方法

更新android SDK 失败的解决方法

android ListView自动滚动方法

Android的Service应用程序组件基本编写方法

Android 使用XML做动画UI的深入解析

精品推荐
分类导航