adb server is out of date. killing...
来源:互联网 发布:c二维数组初始化为0 编辑:程序博客网 时间:2024/05/15 00:36
1:今天调试android的时候发现一个诡异的问题
1
2
3
4
C:\Users\xxxx>adb start-server
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
究其源就是adb server没启动
到stackoverflow上查了一下 经过分析整理如下:
1
2
C:\Users\xxxx>adb nodaemon server
cannot bind
'tcp:5037'
原来adb server 端口绑定失败
继续查看到底是哪个端口给占用了
1
2
3
4
5
6
C:\Users\xxxxxx>
netstat
-ano | findstr
"5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 4628
TCP 127.0.0.1:5037 127.0.0.1:1085 TIME_WAIT 0
TCP 127.0.0.1:5037 127.0.0.1:1086 TIME_WAIT 0
TCP 127.0.0.1:5037 127.0.0.1:1096 TIME_WAIT 0
TCP 127.0.0.1:5037 127.0.0.1:1097 TIME_WAIT 0
原来被4628这个进程占用了端口,打开任务管理器,杀掉4628这个进程。(可以在任务管理器菜单,查看->选择列中勾选(PID)进程标识符)
xp和win7下有两个好东东tasklist和tskill。tasklist能列出所有的进程,和相应的信息。
tskill能查杀进程,语法很简单:tskill程序名!!
- adb server is out of date. killing
- adb server is out of date. killing..
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date killing
- adb server is out of date. killing...
- adb server is out of date. killing
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date.killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- 全排序vs八皇后问题vs三角八皇后
- Objective-c的第一个问题:中缀符,到底什么是函数名,什么是参数?
- 我对互联网营销时代的发展认知
- HDU 4637 Rain on your Fat brother
- EMACS下 弹出窗口式的 Auto-Complete 自动补全工具简单介绍
- adb server is out of date. killing...
- iOS的主要框架介绍
- KBuild MakeFile介绍
- POJ 1308 Is It A Tree?
- C语言信号量的基本操作
- /* HDU 1232 */
- double变量的C++ 输出时的小数点后的位数控制
- UVA 1450
- Maya: 菜单Create > Polygon Primitives > Prism