zoukankan      html  css  js  c++  java
  • android异常之都是deamon惹的祸The connection to adb is down, and a severe error has occured.

    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 'F:\android-sdk\platform-tools\adb.exe' and can be executed.


    1.   首选确保你的platform-tools下有adb.exe,没有从网上下载一个与adt配套的platform-tools版本。

    2.   假如有,把platform-tools假如到path下,在命令行下执行adb kill-server,然后adb start-server。

    3.   执行adb get-state

    若结果为

    C:\Users\Administrator>adb get-state
    adb server is out of date.  killing...
    ADB server didn't ACK
    * failed to start daemon *
    error: unknown host service

    则仍然无法执行。

    4.   根本原因: 大概是豌豆荚或者91助手的deamon害的。

          我在安装豌豆荚之前没有这个问题,安装之后报这个异常。

          解决办法:  启动任务管理器,kill掉deamon进程,然后执行第2步。

    5.  假如得到此结果,则问题解决。

      C:\Users\Administrator>adb start-server
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *


  • 相关阅读:
    linux之uniq
    shell之sort
    tr命令的使用
    AWK 简明教程
    Word Frequency
    10亿个数中选出最大的100个数
    代理模式(也称委托模式)
    java内存相关
    Two Sum
    Java的集合
  • 原文地址:https://www.cnblogs.com/yeahwell/p/5226087.html
Copyright © 2011-2022 走看看