Please ensure that adb is correctly located at 'D:\android-sdk-windows\platform-tools\adb.exe' and c

原创 2015年07月07日 15:09:54

现象:今天在eclipse中运行一个Android应用程序,结果出现Please ensure that adb is correctly located at 'D:\android-sdk-windows\platform-tools\adb.exe' and can be executed. ",重启eclipse,重启电脑都没用。

解决方法:

添加环境变量

新建系统环境变量,名字为android,内容为android-sdk-windows\platform-tools和android-sdk-windows\tools,中间用;隔开。

在Path路径中添加%android%

在DOS命令中:输入adb测试环境变量添加成功,

输入adb kill-server杀死adb,

输入adb start-server启动adb

若出现adb server is out of date.  killing...
   ADB server didn't ACK
   * failed to start daemon *

则症状为解决,adb仍然不能用。资源管理器中未出现adb.exe

分析原因:是360手机助手或豌豆荚其他软件占用了adb.exe的端口。

解决方法:在资源管理器的进程中杀死该软件,

在DOS命令中:输入adb start-server启动adb

出现:* daemon not running. starting it now on port 5037 *
* daemon started successfully *

adb服务启动成功。资源管理器中出现adb.exe

重启eclipse。

问题OK!


版权声明:本文为博主原创文章,未经博主允许不得转载。 举报

相关文章推荐

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

转载于:http://breezylee.iteye.com/blog/2032588 遇到问题描述: 运行android程序控制台输出     [2012-07-18 16:18:...

经常遇到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 ...

我是如何成为一名python大咖的?

人生苦短,都说必须python,那么我分享下我是如何从小白成为Python资深开发者的吧。2014年我大学刚毕业..

Please ensure that adb is correctly located at 'F:\Android\adt-bund异常的解决方案

启动eclipse,测试应用出现以下 异常: [2014-03-04 12:57:32 - dataTime] Please ensure that adb is correctly located ...

错误: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 sev...

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

到问题描述: 运行android程序控制台输出     [2012-07-18 16:18:26 - ] The connection to adb is down, and a seve...

错误:Please ensure that adb is correctly located at 'D:\Android\new\android-sdk-windows\android-sdk-wi

[2016-04-30 21:27:26 - 1.0.2] The connection to adb is down, and a severe error has occured. [2016-0...

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

最近经常遇到下面的问题 遇到问题描述: 运行android程序控制台输出: [2013-07-23 17:28:06 - ] The connection to adb is dow...

android笔记Please ensure that adb is correctly located at ...问题解决

之前也了几个小程序成功在安卓模拟器上运行,但是在一次更新了adt后遇到个问题,在想run一个程序时提示出现“Please ensure that adb is correctly located at...

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

遇到问题描述: 运行android程序控制台输出     [2012-07-18 16:18:26 - ] The connection to adb is ...
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)