解决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.报错: 
BUILD FAILED 
D:\workspace\ganji\build.xml:144: The following error occurred while executing this line: 
D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar 
解决: 
已经开了一个模拟器了,无法重新编译,必须关闭一个。用于ant

2.报错: 
The connection to adb is down, and a severe error has occured. 
这个问题谁能解决啊 
解决: 
cmd跳到sdk tools文件路径下 
adb kill-server 
然后再adb start-server

3.报错: 
The connection to adb is down, and a severe error has occured. 
[2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse. 
[2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at ‘D:\OPhoneSDK_1.5 
\platform-tools\adb.exe‘ and can be executed. 
解决: 
方法1.cmd中adb kill-server,然后adb -startserver 
方法2.方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。 
方法3.方法1和2都不管用,那么查看最后一句报错中:platform-tools中是否有adb.exe(我的错误就是在相关路径下面没有platform-tools文件夹 
,所以我选择新建一个文件夹,并且把tools中的文件全部复制到platform-tools中) 
4.前面的方法试了还是不行的话,建议重新装一个系统,最好换个系统。有些大牛也说过:MS存在一些小问题

原文:http://blog.csdn.net/highning0007/article/details/12801057

解决Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be executed.

时间: 2024-08-06 11:54:54

解决Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be executed.的相关文章

经常遇到Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e

遇到问题描述: 运行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

Please ensure that adb is correctly located at 。。。。。。。。。。。。

遇到问题描述: 运行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 a

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

遇到问题描述: 运行android程序控制台输出 [2015-07-4 20:18:26 - ] The connection to adb is down, and a severe error has occured.    [2015-07-4 20:18:26 - ] You must restart adb and Eclipse.    [2015-07-4 20:18:26 - ] Please ensure that adb is correctly located at 'D:

怎样解决Please ensure that adb is correctly located at......

昨天下午搭建了Android开发环境,但是天公不作美--执行新建的Android项目总是提演示样例如以下问题: [2014-10-30 15:41:47 - ] The connection to adb is down, and a severe error has occured. [2014-10-30 15:41:47 - ] You must restart adb and Eclipse. [2014-10-30 15:41:47 - ] Please ensure that adb

如何解决Please ensure that adb is correctly located at......

昨天下午搭建了Android开发环境,可是天公不作美--运行新建的Android项目总是提示如下问题: [2014-10-30 15:41:47 - ] The connection to adb is down, and a severe error has occured. [2014-10-30 15:41:47 - ] You must restart adb and Eclipse. [2014-10-30 15:41:47 - ] Please ensure that adb is

Ubuntu遇到Please ensure that adb is correctly located at '...adb.exe' and can be executed 问题解决方法

上次我们在SDK更新的到最新的Android L版本之后,我发现我的ADT和android指定的版本不对应,我的ADT是22版本的,android L需要23版本以上的,版本不对应的话就无法加载这个SDK进去,通过上网查一下说是修改Android SDK目录下tolols目录下libs目录中plugin.prop这个文件,该文件打开一看就很容易知道要修改的是plugin.version=23.0.0这个,把它改成22就可以了,我改之后加载还真的是可以了,但是一个麻烦的问题又混淆我了,在运行项目的

Android学习----异常(2):Please ensure that adb is correctly located at ' ... '

打开任务管理器,在后台进程中找到 kadb,结束这个进程,重新启动eclipse. Android学习----异常(2):Please ensure that adb is correctly located at ' ... '

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

今天导入个android项目,运行的时候,居然发现了个错误…… 出现:ADB server didn't ACK, failed to start daemonPlease ensure that adb is correctly located at 'D:\android-sdk-windows\platform-tools\adb.exe' and can be executed. 一开始按照网上查到的方法,关闭eclipse.关闭ADK,然后再重启电脑啥啥的,都没有用.查了下进程,adb

Please ensure that adb is correctly located at……问题

遇到问题描述: 运行android程序控制台输出 [2013-10-13 16:45:50 - ] The connection to adb is down, and a severe error has occured.    [2013-10-1316:45:50 - ] You must restart adb and Eclipse.    [2013-10-1316:45:50 - ] Please ensure that adb is correctly located at '<