adb server is out of date. killing... .
来源:互联网 发布:双系统linux安装教程 编辑:程序博客网 时间:2024/04/30 20:25
1:今天调试android的时候发现一个诡异的问题
- C:\Users\xxxx>adb start-server
- adb server is out of date. killing...
- ADB server didn't ACK
- * failed to start daemon *
C:\Users\xxxx>adb start-serveradb server is out of date. killing...ADB server didn't ACK* failed to start daemon *
adb 不管执行 shell devices 还是logcat 都会报错
- adb server is out of date. killing...
adb server is out of date. killing...究其源就是adb server没启动
到stackoverflow上查了一下 经过分析整理如下:
- C:\Users\xxxx>adb nodaemon server
- cannot bind 'tcp:5037'
C:\Users\xxxx>adb nodaemon servercannot bind 'tcp:5037'原来adb server 端口绑定失败
继续查看到底是哪个端口给占用了
- C:\Users\xxxxxx>netstat -ano | findstr "5037"
- TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 4236
- TCP 127.0.0.1:5037 127.0.0.1:49422 ESTABLISHED 4236
- TCP 127.0.0.1:49422 127.0.0.1:5037 ESTABLISHED 3840
C:\Users\xxxxxx>netstat -ano | findstr "5037" TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 4236 TCP 127.0.0.1:5037 127.0.0.1:49422 ESTABLISHED 4236 TCP 127.0.0.1:49422 127.0.0.1:5037 ESTABLISHED 3840
打开任务管理器kill掉4236 这个进程。ok
2007-12-09 17:43
cmd下命令提示符下杀进程
1、用taskill命令
①taskkill /f /im 进程名称
示例:用taskkill /f /im VStart.exe命令关闭音速启动,VStart.exe就是音速启动的进程名称
②taskkill /pid[进程码] -t(结束该进程) -f(强制结束该进程以及所有子进程)
注:有两种方法查进程的PID码:
①在命令行下用 tasklist 命令查出进程的PID号码,就是这些
②在任务管理器中的查看选项中选择选择列中勾先PID那一项
示例:举个关闭迅雷的例子,先找出迅雷的PID码2552
taskkill /pid 2552 -f,就是这个指令
2、用 wmic process Where name="进程名称" call terminate 这个不需要知道进程的PID号
示例:
wmic process Where name="iexplore.exe" call terminate 关闭IE浏览器,
3、ntsd -c q -p [pid进程码]
示例:还是举个关闭迅雷的吧,同样先找出迅雷的PID码2724
ntsd -c q -p 2724 是这条指令!
0 0
- 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...
- 十六进制字符转数字
- Mac上Svn的使用
- hdu 2813 One fihgt one(trie树+KM算法)
- 原型模式 Prototype模式
- 【ST学习小组】STM32F103的CAN 通信之从控器部分
- adb server is out of date. killing... .
- 理解 Android 2D/3D 图形架构
- AdaBoost中利用Haar特征进行人脸识别算法分析与总结(二)
- 将项目部署到tomcat上El表达式 namespace错误
- Android ListView 最基本的用法,使用SimpleCursorAdapter
- cocos2d-x游戏开发系列教程-坦克大战游戏之虚拟手柄的显示
- 移动硬盘进水丢失数据怎么恢复
- 关于微信新版运营规则的八大误区和解读
- “毕竟,你胜利了......敬胜利者一杯。”