adb被占用 “adb server is out of date. killing... ”
来源:互联网 发布:吸尘器 卧式 桶式 知乎 编辑:程序博客网 时间:2024/05/22 18:22
在调试android平板的时候adb突然不能用了,
提示错误:
C:\Users\lizy>adb devicesadb devicesadb server is out of date. killing...ADB server didn't ACK* failed to start daemon *error: unknown host service用命令尝试停止也不行:
G:\BaiduYunDownload\> adb kill-serverG:\BaiduYunDownload\> adb start-serveradb server is out of date. killing...ADB server didn't ACK* failed to start daemon *
最后在网上找到问题的根源,有进程占用了adb,所以无法再操作adb。
解决问题的步骤:
1.先查询设备占用的端口号
G:\BaiduYunDownload\>adb nodaemon servercannot bind 'tcp:5037': No error2.找出使用这个端口号的进程:
G:\BaiduYunDownload\>netstat -ano | findstr "5037 TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 1416 TCP 127.0.0.1:5037 127.0.0.1:55479 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55480 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55481 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55483 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55484 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55485 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55487 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55488 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55489 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55493 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55494 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55495 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55496 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55497 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55498 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55501 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55503 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55504 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55505 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55507 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55508 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55509 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55512 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55513 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55514 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55515 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55516 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55517 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55518 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55525 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55526 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55527 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55534 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55537 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55538 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55539 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55540 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55545 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55546 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:55547 TIME_WAIT 0 TCP 127.0.0.1:55501 127.0.0.1:5037 TIME_WAIT 0 TCP 127.0.0.1:55518 127.0.0.1:5037 TIME_WAIT 0 TCP 127.0.0.1:55534 127.0.0.1:5037 TIME_WAIT 03.找出这个进程是那个程序的
G:\BaiduYunDownload\>tasklist | findstr "1416"360MobileLoader.exe 1416 Console 1 38,592 K4.真凶浮现,用进程管理器干掉
原来是360手机管家占用了adb,这个太可恶了,用进程管理器干掉它吧。
结果提示杀不死
再尝试用360自带的任务管理器杀,这样才能杀掉,真无语。
0 0
- adb被占用 “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...
- hdu1753
- 贝叶斯定理在拼写检查中的应用
- MySQL登录出现ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- oos.writeObject(myObj); fos.close(); 流关闭,关哪个流还是要全部关闭?
- 欢迎使用CSDN-markdown编辑器
- adb被占用 “adb server is out of date. killing... ”
- 01背包、完全背包、多重背包问题的C++实现及路径记录
- 二、Linux基础命令
- 小公司网站在建设的时候怎么样才能提升站点特色
- hdu1799
- struts2中,一个Form表单配置多个action实现原理及案例
- 心情杂记-4-19
- poj1068 Parencodings
- unit14 linux中设备的访问