You must restart adb and Eclipse
来源:互联网 发布:网络信息安全公司排名 编辑:程序博客网 时间:2024/05/21 10:16
转载地址:http://www.cnblogs.com/yejiurui
一、情况描述:
我们在使用eclipse开发有时候会出现adb连接异常中,有时候控制台会打印出来 adb connect异常
比如会出现下面这样 :
[2014-12-18 16:18:26 - ] The connection to adb is down, and a severe error has occured. [2014-12-18 16:18:26 - ] You must restart adb and Eclipse. [2014-12-18 16:18:26 - ] Please ensure that adb is correctly located at 'E:\adt-bundle-windows-x86_64-20140624\sdk\platform-tools\adb.exe' and can be executed.
二、解决办法
这些大多数是其它程序占用了5037端口导致的,解决问题的思路就是查看是哪个程序占用了adb调试端口,然后结束掉它就行。
使用命令如下:
netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 18212
tasklist|findstr "18212"
kadb.exe 18212 Console 1 1,260 K
大家能够看到是一个叫着kadb.exe的程序在占用我们的adb端口,进入到任务管理器里面,找到它结束掉就行了。
1.关闭kadb.exe
2.adb kill-server
3.adb start-server
4.重启Eclipse
0 0
- You must restart adb and Eclipse.
- You must restart adb and Eclipse
- You must restart adb and Eclipse
- You must restart adb and Eclipse.
- Q: you must restart adb and eclipse
- You must restart adb and Eclipse
- you must restart adb and eclipse | ADB 链接错误解决方法
- Eclipse出现 you must restart adb and eclipse的解决办法
- 打开eclipse出现错误:you must restart adb and Eclipse
- Eclipse调试Android问题--You must restart adb and Eclipse
- you must restart adb and eclipse的相关解决办法
- You must restart adb and Eclipse问题的解决
- you must restart adb and eclipse的相关解决办法
- you must restart adb and eclipse的相关解决办法
- Android《You must restart adb and Eclipse的解决办法》
- you must restart adb and eclipse的相关解决办法
- you must restart adb and eclipse的相关解决办法
- you must restart adb and eclipse的相关解决办法
- 自定义控件(2.1):SurfaceView和SurfaceHolder
- spring复习20141221
- 自定义控件(2.2):SurfaceView和SurfaceHolder
- 15个变态的谷歌面试问题
- hdu 1285 (确定比赛名次)(拓扑排序)
- You must restart adb and Eclipse
- Codeforces 490F Treeland Tour 树上的最长上升子序列
- Android推送通知指南
- 自定义控件(2.3):SurfaceView和SurfaceHolder
- java网络通信
- zz-am335x-LinuxKernel启动流程初始化141221c
- android 静默安装
- Android应用自动更新功能的代码实现
- 虚函数相关的知识