首页 > 数据库技术 > 详细

adb server is out of date. killing

时间:2015-11-19 12:57:37      阅读:343      评论:0      收藏:0      [点我收藏+]

本篇文章由:http://xinpure.com/adb-server-is-out-of-date-killing/

执行 adb devices 报错

刚接触 adb 不久,还不太熟悉,遇到了以下错误

Input:

xinpureZhu:~ xinpure$ adb devices

Output:

List of devices attached
adb server is out of date.  killing...
Killed: 9

错误提示是 adb server 过期了,那么就尝试找到这个服务,然后把它杀掉

Input:

xinpureZhu:~ xinpure$ ps aux | grep adb

Output:

xinpure          6837   0.0  0.0  2444052    764 s001  S+    3:26PM   0:00.00 grep adb
xinpure          6829   0.0  0.0   635180   3468   ??  S     3:26PM   0:00.29 adb -P 5037 fork-server server

Input:

xinpureZhu:~ xinpure$ kill -9 6829

没想到 kill 之后还是依然报同样的错误

解决方法

百度不行就找 Google,方法总会有的

sudo adb kill-server && sudo adb start-server

以上命令完美解决此问题。

参考链接

http://stackoverflow.com/questions/16364748/must-do-adb-kill-server-and-start-server-everytime-to-recognize-android-device-i

adb server is out of date. killing

原文:http://www.cnblogs.com/xinpureZhu/p/4976973.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!