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

Please ensure that adb is correctly located at问题解决

2013-11-05 21:39 561 查看
运行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.

解决问题:

1kill掉adb 或者重启adb server

2 5037为adb默认端口 查看该端口情况如下:
     cmd模式下输入: 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 ,重启eclispe 运行android程序。

建议关闭豌豆荚和金山手机卫士,360软件不会出现此问题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android