【问题标题】:The connection to adb is down, and a severe error has occured while running Android Project与 adb 的连接断开,运行 Android Project 时出现严重错误
【发布时间】:2014-05-13 07:05:16
【问题描述】:
[2014-04-02 12:30:28 - EsrtDummyproject1] The connection to adb is down, and a severe error has occured.
[2014-04-02 12:30:28 - EsrtDummyproject1] You must restart adb and Eclipse.
[2014-04-02 12:30:28 - EsrtDummyproject1] Please ensure that adb is correctly located at 'C:\Tulika\SOFTWARES\adt-bundle-windows-x86-20130522\sdk\platform-tools\adb.

我尝试了所有方法来解决它。

  1. 我已经从任务管理器中杀死了 adb.exe 进程。
  2. 重启 Eclipse。
  3. 但仍然面临同样的问题。

谁能帮忙解决?

【问题讨论】:

    标签: android eclipse


    【解决方案1】:

    尝试以下步骤:

    1. 如果正在运行,请关闭 Eclipse
    2. 进入命令提示符中的 Android SDK platform-tools 目录
    3. 输入 adb kill-server
    4. 然后输入 adb start-server
    5. 启动ADB服务器时没有报错,则adb启动成功。
    6. 现在您可以再次启动 Eclipse。

    这样对我有用,在发出这些命令之前应该关闭 Eclipse。

    同时重启你的手机!

    【讨论】:

      【解决方案2】:

      如果您使用多个 eclipse 实例,有时会发生这种情况

      要修复日志记录:

      1. Unplug the device
      2. Close all Eclipse windows
      3. Restart adb in command line: adb kill-server and than adb start-server
      4. Run again Eclipse and connect device
      

      有时这也有帮助,转到 Eclipse Window > Perspective > DDMS,然后从 Device 子窗口中选择 Reset adb

      【讨论】:

        猜你喜欢
        • 2016-03-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-05-04
        • 1970-01-01
        • 2013-08-14
        • 1970-01-01
        相关资源
        最近更新 更多