您当前的位置: 首页 >  adb

adb server is out of date. killing...

发布时间:2013-09-02 11:14:04 ,浏览量:0

C:\Users\ZhangBin>adb devices List of devices attached 192.168.1.108:5555      device C:\Users\ZhangBin>adb devices List of devices attached 192.168.1.108:5555      device C:\Users\ZhangBin>adb devices adb server is out of date.  killing... ADB server didn't ACK * failed to start daemon * error: unknown host service C:\Users\ZhangBin>adb devices adb server is out of date.  killing... ADB server didn't ACK * failed to start daemon * error: unknown host service C:\Users\ZhangBin> adb nodaemon server cannot bind 'tcp:5037' C:\Users\ZhangBin> netstat -ano | findstr "5037"   TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       4928   TCP    127.0.0.1:5037         127.0.0.1:59148        TIME_WAIT       0   TCP    127.0.0.1:5037         127.0.0.1:59160        TIME_WAIT       0   TCP    127.0.0.1:5037         127.0.0.1:59161        TIME_WAIT       0   TCP    127.0.0.1:5037         127.0.0.1:59164        TIME_WAIT       0   TCP    127.0.0.1:5037         127.0.0.1:59165        TIME_WAIT       0   TCP    127.0.0.1:5037         127.0.0.1:59296        FIN_WAIT_2      4928   TCP    127.0.0.1:59296        127.0.0.1:5037         CLOSE_WAIT      1972 C:\Users\ZhangBin> C:\Users\ZhangBin> adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached C:\Users\ZhangBin>adb connect 192.168.1.108 connected to 192.168.1.108:5555 C:\Users\ZhangBin> adb connect 192.168.1.108 already connected to 192.168.1.108:5555 C:\Users\ZhangBin>adb connect 192.168.1.108 already connected to 192.168.1.108:5555 C:\Users\ZhangBin>adb devices List of devices attached 192.168.1.108:5555      device C:\Users\ZhangBin>
参考
http://blog.csdn.net/id19870510/article/details/8489486
  adb server is out of date. killing...
分类: Android 2013-01-10 13:09  20239人阅读  评论(32)  收藏  举报

1:今天调试android的时候发现一个诡异的问题

[html]  view plain copy
  1. C:\Users\xxxx>adb start-server  
  2. adb server is out of date.  killing...  
  3. ADB server didn't ACK  
  4. * failed to start daemon *  
adb 不管执行 shell devices 还是logcat 都会报错
[html]  view plain copy
  1. adb server is out of date.  killing...  
究其源就是adb server没启动

到stackoverflow上查了一下 经过分析整理如下:

[html]  view plain copy
  1. C:\Users\xxxx>adb nodaemon server  
  2. cannot bind 'tcp:5037'  
原来adb server 端口绑定失败

继续查看到底是哪个端口给占用了

[html]  view plain copy
  1. C:\Users\xxxxxx>netstat -ano | findstr "5037"  
  2.   TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       4236  
  3.   TCP    127.0.0.1:5037         127.0.0.1:49422        ESTABLISHED     4236  
  4.   TCP    127.0.0.1:49422        127.0.0.1:5037         ESTABLISHED     3840  

打开任务管理器kill掉4236 这个进程。ok

至此问题解决了

关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    114465博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0549s