经常遇到Please ensure that adb is correctly located at 'C:\java\sdk\platform-tools\adb.exe' and can be e
来源:互联网 发布:macbook air如何写编程 编辑:程序博客网 时间:2024/05/18 00:58
遇到问题描述:
运行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 .
- 经常遇到Please ensure that adb is correctly located at 'C:\java\sdk\platform-tools\adb.exe' and can be e
- 经常遇到Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be
- 经常遇到Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e
- 经常遇到Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e
- 经常遇到Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e
- 经常遇到Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e
- 经常遇到Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e
- 错误:Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be e
- Please ensure that adb is correctly located at '\sdk\platform-tools\adb.exe' and can be
- 解决Please ensure that adb is correctly located at 'E:\eclipse\sdk\platform-tools\adb.exe' and can be
- 解决Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be exe
- 解决Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be exe
- Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be execu
- 解决Please ensure that adb is correctly located at '\sdk\platform-tools\adb.exe' and can be executed错误
- 解决Please ensure that adb is correctly located at '\sdk\platform-tools\adb.exe' and can be executed错误
- Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.e
- 关于遇到Please ensure that adb is correctly located at 'D:\Java\sdk\platform-tools\adb.exe'...问题的解决
- Please ensure that adb is correctly located at 'D:\android-sdk-windows\platform-tools\adb.exe' and c
- android 内存优化
- C#语言调用C语言的Win32 API
- Android下打印调用栈
- DP方程整理
- c++求幂次方
- 经常遇到Please ensure that adb is correctly located at 'C:\java\sdk\platform-tools\adb.exe' and can be e
- Struts2 InitOperations
- Andoird service 实例程序调试过程[driver->hal->jni->service->app] (总结篇)
- 排列组合算法
- 我的第一个应用,脑筋急转弯2014
- &&、||和&、|的区别
- CentOS6.5安装Kmplayer
- 读入未知数目的输入方法和该方法的条件测试原理
- Python排序算法再理解