Please ensure that adb is correctly located at问题解决
来源:互联网 发布:东京淘宝网 编辑:程序博客网 时间:2024/05/22 08:15
遇到问题描述:
运行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 .
转自:http://blog.csdn.net/lg279908129/article/details/7759789
- Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at 问题解决
- ORA-01502:索引或这类索引的分区处于不可用状态
- ant example
- 解决[warn] _default_ VirtualHost overlap on port 80, the first has precedence问题
- DG2013SP1_1100U1.exe 与 ATEN 62US USB型多电脑切换器应用冲突
- sql server出生年月减去退休年月 计算年龄
- Please ensure that adb is correctly located at问题解决
- Sparsity and Some Basics of L1 Regularization
- delphi中资源的添加与解压
- 如何将BASE64编码的证书转换成C语言数组格式
- linux下svn客户端安装及环境配置
- c++与Python3互相调用
- Powershell随笔
- <Unity3D>NGUI插件中Atlas和Font的制作
- Mybatis+oracle 批量导入