zoukankan      html  css  js  c++  java
  • ADT 连接手机运行android应用程序时报错

    The connection to adb is down, and a severe error has occured.   

    You must restart adb and Eclipse. Please ensure that adb is correctly located at ....

    解决方法:

    (1):打开CMD,进入:

    >adt-bundle-windows-x86-20131030sdkplatform-tools>adb.exe kill-server

    提示:* server not running *

    >adt-bundle-windows-x86-20131030sdkplatform-tools>adb.exe start-serfver

    提示:

    adb server is out of date. killing...
    ADB server didn't ACK
    * failed to start daemon *

    此方法解决不了。

    (2):查看端口号占用情况

    >netstat -aon | findstr "5037"

    TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       5932
    TCP    127.0.0.1:5037         127.0.0.1:50462        ESTABLISHED     5932

    查看任务:

    >tasklist | findstr "5932"

    tadb.exe                      5932 Console                    1      5,260 K

    将此任务kill掉,然后重启ADT问题解决:

    >taskkill /f /t /im tadb.exe

    成功: 已终止 PID 5932 (属于 PID 5820 子进程)的进程。
  • 相关阅读:
    AWVS——windows下扫描(上)
    中介者模式
    设计模式-类型2
    设计模式=类型
    C++ 1
    字符占字节
    编程规范
    位运算相关规律
    十进制转二进制
    递归理解
  • 原文地址:https://www.cnblogs.com/yshyee/p/3515921.html
Copyright © 2011-2022 走看看