java\sdk\platform-tools\adb.exe' and can be executed.
2015-08-12 20:52
621 查看
遇到问题描述:运行android程序控制台输出The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
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,发现是xxx .如下所示 tasklist|findstr "6540"
wandoujia_daemon.exe 6540 Console 1 4,276 K
接下来问题就好解决了,在任务管理器kill掉xx.exe ,运行android程序,ok .之后重启一下eclipse就可以了。
You must restart adb and Eclipse.
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,发现是xxx .如下所示 tasklist|findstr "6540"
wandoujia_daemon.exe 6540 Console 1 4,276 K
接下来问题就好解决了,在任务管理器kill掉xx.exe ,运行android程序,ok .之后重启一下eclipse就可以了。
相关文章推荐
- 【leetcode】Power of Two【java】
- Spring中的Aop即:面向切面
- java.lang.OutOfMemoryError: PermGen space(Myeclipse)
- Java——基本数据类型对象包装类
- Java final关键字用来修饰类、方法、属性
- 【java】 内部类
- 【leetcode】【Numbers of 1 bits】java >>> &符号
- Java日志框架——Logback的体系结构
- java异或运算交换两个数的陷阱
- [leetcode-130]Surrounded Regions(java)
- Java从键盘输入值
- Java ImageIcon 不能显示问题
- org.springframework.http.converter.HttpMessageNotWritableException:
- org.springframework.http.converter.HttpMessageNotWritableException:
- org.springframework.http.converter.HttpMessageNotWritableException:
- 浅析构造方法
- Spring声明式事务
- springMVC文件上传
- java连接MySQL数据库
- 第 2 页:Spring的设计理念