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!


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

相关文章推荐

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 severe ...

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

遇到的问题: 运行android程序控制台输出:     The connection to adb is down, and a severe error has occured.     You...
  • h_025
  • h_025
  • 2016年03月10日 18:36
  • 899

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

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

Program Files\android-sdk-windows\platform-tools\adb.exe' and can be executed.

我的R.java 回来了可是启动的时候报错: Android Launch![2013-12-27 11:14:37 - MyFirstAndroidProject] The connection ...

安装Android时Could not find D:\Android\a...sdk-windows\tools\adb.exe

本人学习Android时 出现错误Could not find D:\Android\a...sdk-windows\tools\adb.exe。 百度发现解决方案为: 首先,改一下你的环境变量(...

android-sdk\platform-tools\adb.exe' and can be executed.

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

android 开发时出现 Please ensure that adb is correctly located at '...\adb.exe' and can be executed

遇到问题描述: 运行android程序控制台输出  The connection to adb is down, and a severe error has occured.  You mus...
  • dxswzj
  • dxswzj
  • 2013年10月21日 14:51
  • 4115

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

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

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

Please ensure that adb is correctly located 问题的解决
  • liranke
  • liranke
  • 2011年03月21日 17:25
  • 48667
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Please ensure that adb is correctly located at 'D:\android-sdk-windows\platform-tools\adb.exe' and c
举报原因:
原因补充:

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