zoukankan      html  css  js  c++  java
  • adb server is out of date.

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

    C:Usersxxxx>adb start-server  

    1. adb server is out of date.  killing...  
    2. ADB server didn't ACK  
    3. * failed to start daemon *  
    C:Usersxxxx>adb start-server
    adb server is out of date.  killing...
    ADB server didn't ACK
    * failed to start daemon *


    adb 不管执行 shell devices 还是logcat 都会报错

    1. adb server is out of date.  killing...  
    adb server is out of date.  killing...

    究其源就是adb server没启动

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

    C:Usersxxxx>adb nodaemon server  
    1. cannot bind 'tcp:5037'  
    C:Usersxxxx>adb nodaemon server
    cannot bind 'tcp:5037'

    原来adb server 端口绑定失败

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

        C:Usersxxxxxx>netstat -ano | findstr "5037"  
    1.   TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       4236  
    2.   TCP    127.0.0.1:5037         127.0.0.1:49422        ESTABLISHED     4236  
    3.   TCP    127.0.0.1:49422        127.0.0.1:5037         ESTABLISHED     3840  
    C:Usersxxxxxx>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

  • 相关阅读:
    指针和引用的区别
    c++空指针 和 野指针
    strcpy源码实现方式
    函数的分文件编写
    哈夫曼编码实现
    错误:The selected wizard could not be started Plug-in com.genuitec.eclipse.j2ee.ui was unable to load class com.genuitec.eclipse.j2ee.ui.wizard.WebProjectWizard
    sql server,mysql 和navicat for mysql的区别
    MySQL 5.7
    sql server 2017
    Download
  • 原文地址:https://www.cnblogs.com/jason_chen/p/3141442.html
Copyright © 2011-2022 走看看