您的位置:首页 > 移动开发 > Android开发

Android 出现Please ensure that adb is correctly located at问题的解决方法

2013-12-12 20:54 627 查看
问题描述:运行android程序控制台输出:

[2013-07-23 17:28:06 - ] The connection to adb is down, and a severe error has occured.

[2013-07-23 17:28:06 - ] You must restart adb and Eclipse.

[2013-07-23 17:28:06 - ] Please ensure that adb is correctly located at 'D:\Program Files\Android\android-sdk\platform-tools\adb.exe' and can be executed.

解决方法:

查找资料得知,5037为adb默认端口,所以查看该端口情况如下:

netstat -aon|findstr "5037" TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING

11248发现7852占用了 5037端口,继续查看7852的进程,发现是tadb .如下所示

tasklist|findstr "7285" tadb.exe 11248 Console 1 5,236 K

接下来问题就好解决了,在任务管理器杀掉tadb.exe ,重启adb,ok,问题解决 。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐