怎样解决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 correctly located at '<--此处显示adb.exe的全路径-->' and can be executed.
努力了大半天总算是解决这个问题了,现总结一下:
1、关闭eclipse。打开Windows任务管理器。查看进程中是否有adb.exe或adb.exe *32进程;
2、假设Windows任务管理器中有adb.exe或adb.exe *32进程则关闭该进程。又一次启动eclipse就可以;
3、假设Windows任务管理器中没有adb.exe或adb.exe *32进程。则能够进行以下几种尝试:
a、打开计算机DOS窗体,通过adb start-server手动启动。假设出现下图则表示成功启动,这时就能够在Windows任务管理器中找到adb.exe或adb.exe *32进程:
b、假设上面方法无法奏效,那么一定是adb.exe进程的port被其他进程占用了。这时我们能够通过i、ii和iii三个步骤解决这个问题:
i、因为adb.exe默认port为5037。所以能够通过例如以下命令查看port使用情况:
C:\Users\GaoHuanjie>netstat -aon|findstr "5037"
TCP 0.0.0.0:5037 0.0.0.0:0 LISTENING 2736
ii、通过上面命令能够看出2736port占用了5037port,通过例如以下命令查看哪个进程使用了2736port:
C:\Users\GaoHuanjie>tasklist|findstr "2736"
TFtpServr.exe 2736 Services 0 13,616 K
iii、在Windows任务管理器中找到名为TFtpServr.exe的进程,结束该进程,然后启动eclipse(假设adb.exe进程未能启动。手动启动就可以)。
怎样解决Please ensure that adb is correctly located at......的更多相关文章
- 解决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 ...
- 最新Android 出现Please ensure that adb is correctly located at问题的解决方法
最近经常遇到下面的问题 遇到问题描述: 运行android程序控制台输出: [2013-07-23 17:28:06 - ] The connection to adb is down, and a ...
- 经常遇到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 ...
- Android Please ensure that adb is correctly located at问题解决
转载于:http://breezylee.iteye.com/blog/2032588 遇到问题描述: 运行android程序控制台输出 [2012-07-18 16:18:26 - ] The co ...
- Please ensure that adb is correctly located at '...adb.exe' and can be executed.
Android Launch! The connection to adb is down, and a severe error has occured. You must restart adb ...
- 遇到问题描述:Android Please ensure that adb is correctly located at问题解决
遇到问题描述: 运行android程序控制台输出 [2013-11-04 16:18:26 - ] The connection to adb is down, and a severe error ...
- 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 ...
- 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版本以上的,版本不对应的话就无法加载这个S ...
- Android "Please ensure that adb is correctly located at" 错误
转自:http://blog.csdn.net/hyx1990/article/details/12681207 遇到问题描述: 运行Android程序控制台输出 [2013-10-13 16:45: ...
随机推荐
- MVC项目中怎样用JS导出EasyUI DataGrid为Excel
在做一中考评项目的时候,遇到了这么一个需求.就是把评教后得到的老师的成绩导出为Excel.事实上需求非常普通.实现起来有些复杂.由于老师考评不但有固定的考核项,还有额外加分项.于是我们就抽出来了一个表 ...
- android studio中文乱码问题
在build.gradle中加入代码: tasks.withType(JavaCompile) { options.encoding = "UTF-8" }
- Painting Fence
Painting Fence Time Limit:1000MS Memory Limit:524288KB 64bit IO Format:%I64d & %I64u Sub ...
- ubuntu如何使用minicom
minicom是linux下串口通信的软件,它的使用完全依靠键盘的操作,虽然没有“超级终端”那么易用,但是使用习惯之后读者将会体会到它的高效与便利,下面将讲解minicom的安装和配置. 一.安装mi ...
- LeetCode119. Pascal's Triangle II
Description Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, ...
- Ubuntu17.10 Install Docker-ce
官网目前的安装步骤在最新版本的Ubuntu17.10 上会提示没有安装源,下面是针对17.10 安装步骤: 参考资料 sudo apt-get update sudo apt-get install ...
- 第四篇:Elaticsearch 安装配置
Elasticsearch 是一个分布式搜索引擎,相似产品还有solr-cloud .Elasticsearch 相对于solr 而言,随着容量的变化,效率会比solr高,特点就是速度快.ES使用者众 ...
- Python Theano TypeError: Cannot convert Type TensorType(float64, vector) (of Variable Subtensor{int64:int64:}.0) into Type TensorType(float64, matrix)
参考: https://groups.google.com/forum/#!topic/theano-users/teA-07wOFpE 这个问题出现的原因是,我在读文件的时候,应该Train_X读成 ...
- c++中sin,cos,arcsin等和在C/C++中使用pi (π) 值
先 #include<math.h> 反3角函数有 acos(double),asin(double),atan(double),atan(double,double),返回值 doubl ...
- iOS 。开发之指纹识别功能
// 头文件导入 #import <LocalAuthentication/LocalAuthentication.h> //在iPhone5s的时候,苹果推出了指纹解锁.但是在ios8. ...