zoukankan      html  css  js  c++  java
  • Android failed to start daemon

    异常描述:在Eclipse中运行Android项目时Console中出现:

    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 'D:android-2.2-windowsplatform-toolsadb.exe' and can be executed. 

    之前遇到这个问题时我首先重启eclipse,然后问题得到解决,但是今天即使重启了eclipse还是会出现这样的问题,之后又重启了一下计算机,但是还是会出现这个问题。

    之后我用cmd切换到adb目录下,使用 adb kill-server adb是能够杀死的,但是用adb start-server时却出现了异常,如下所示

    * daemon not running. starting it now *   
    ADB server didn't ACK   
    * failed to start daemon * 

    解决办法:

     1.打开任务管理器,关闭所有的adb.exe

     2.重启eclipse,运行android的程序

    到此问题解决了。

  • 相关阅读:
    初始化项目结构
    Django基础2
    Django基础
    Linux(9~)
    Linux(8~)
    redis案例
    Jedis连接池
    Jedis入门
    redis持久化
    redis命令操作
  • 原文地址:https://www.cnblogs.com/tony-yang-flutter/p/3398777.html
Copyright © 2011-2022 走看看