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 子进程)的进程。
  • 相关阅读:
    8 网站用户密码保存
    10 XSRF和XSS
    评分预测
    社会化推荐
    借助上下文信息
    UGC
    冷启动
    Git秘籍:在 Git 中进行版本回退
    Google在三大系统上停止对Chrome Apps的支持
    Windows 的 AD 域寄生于 Linux 机器
  • 原文地址:https://www.cnblogs.com/yshyee/p/3515921.html
Copyright © 2011-2022 走看看