Please ensure that adb is correctly located at 最新详细方案
来源:互联网 发布:淘宝美工做什么的 编辑:程序博客网 时间:2024/06/02 00:32
遇到问题描述:
运行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端口。于是按此思路查找。
解决步骤:1.打开cmd界面,输入命令 netstat -ano ,获取如下界面
其中发现了
进程id为4136的进程占用了adb的默认端口5037,这时候就发现了问题的所在
2.打开任务管理器,点击查看,进入选择列选项界面,如下
将pid的显示勾上
3.根据对应的pid将占用端口的进程结束,然后重启eclipse
4.恭喜你,应该可以正常使用了!!
0 0
- 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 最新详细方案
- 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
- 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问题解决
- 构造函数
- 海浪
- Unity截屏
- Palindrome Number
- Ubuntu下Qt与Mysql驱动问题解决
- Please ensure that adb is correctly located at 最新详细方案
- 单例模式
- Deadlock的一些总结
- myeclipse8.5安装svn插件(方法一)
- python paramiko链接linux执行命令操作
- 正则表达式
- Y344封隔器
- struts 1 中 <html:form>详解
- Gson的详细使用