点击项目run,报了这样的错,前几天都好好的:

 
[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] ------------------------------
 
[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] Android Launch!
[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] The connection to adb is down, and a severe error has occured.
[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] You must restart adb and Eclipse.
[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86\sdk\platform-tools\adb.exe' and can be executed.
 
 
 
其实很简单,你要改一下系统的环境变量path,由'D:\adt-bundle-windows-x86\sdk\tools改成了'D:\adt-bundle-windows-x86\sdk\platform-tools
 
你查看\tools目录发现多了一个adb_has_moved.txt文件,里面明确告诉了原因:The adb tool has moved to platform-tools。原来从SDK R8以后,SDK需要有一个新的组件支持,这个组件叫做Platform-tools,adb已经迁移到这个目录下去了。并且 adb_has_moved.txt文件也说明需要在PATH环境变量中增加\platform-tools路径,以便能够从任何地方启动adb.exe。  
然后重启电脑,启动eclipse,点击run,又报如下错误:
[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1]  ADB server didn't ACK
 
[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] * failed to start daemon *
 
 
 
于是我就百度,参考了该篇文章(http://www.cnblogs.com/longqi293/archive/2012/06/19/2554801.html点击打开链接)。可是我没有出现那样的情况。但我还是照着上面的操作,杀死服务,然后启动服务。然后我就重启一下,就可以了。
 
 
 
还有人说按如下图片的方法:
												

android 运行时出现The connection to adb is down, and a severe error has occured.(转)的更多相关文章

  1. 运行Android程序出错:The connection to adb is down, and a severe error has occured

    调试Android程序时候,报错如下: [2013-02-21 15:41:06 - MainActivity] ------------------------------[2013-02-21 1 ...

  2. android学习之BUG——The connection to adb is down, and a severe error has occured.

    开始--运行--cmd 进入命令提示符 输入netstat -ano 即可看到所有连接的PID 之后在任务管理器中找到这个PID所对应的程序如果任务管理器中没有PID这一项,可以在任务管理器中选&qu ...

  3. [Android]The connection to adb is down, and a severe error has occured.

    在Android开发时,有时我们开启虚拟机执行程序时.会报类似下面错误: [2015-07-19 15:08:29 - TestXiaoYanLibrary] The connection to ad ...

  4. Android开发之 adb 启动问题或是部署应用不成功,出现“The connection to adb is down, and a severe error has occured.”错误

    首先是今天想测试下应用,没有问题的话就进行下一步的操作来着,结果遇到这个问题, The connection to adb is down, and a severe error has occure ...

  5. android关于The connection to adb is down, and a severe error has occured.这个问题的解决办法

    有时在打开模拟器的时候会出现The connection to adb is down, and a severe error has occured.这个问题,这个问题的解决办法有两个: 方法一:找 ...

  6. (重置adb.exe)android关于The connection to adb is down, and a severe error has occured.这个问题的解决办法

    转自:http://www.sjsjw.com/kf_mobile/article/3_24710_14072.asp 这里补充一个更简单的方法(和下面的方法一样的效果): 有时在打开模拟器的时候会出 ...

  7. Android:The connection to adb is down, and a severe error has occured.解决方法一

    在自己机上打安桌虚拟机,竟然提示“The connection to adb is down, and a severe error has occured.please ensure ......” ...

  8. [Android]ADT Run时候报错:The connection to adb is down, and a severe error has occured

    The connection to adb is down, and a severe error has occured. 之 ..\sdk\platform-tools\adb.exe and c ...

  9. Android 提示: The connection to adb is down, and a severe error has occured.

    今天早上打开Eclipse,一直提示 The connection to adb is down, and a severe error has occured,无法执行程序.重新启动Eclipse. ...

随机推荐

  1. XAMPP端口占用启动不了

    skype默认会占用80和443端口 如果在apache之前启动skype,apache就会启动不了了!! 解决办法很简单: 1. 先启动apache再启动skype,这样skype就会换其他的端口监 ...

  2. oracle数据库备份

    --数据库备份--导出 exp userid=shoppingsys/shoppingsys@orcl file=/home/oracle/shoppingsys.dmp log=/home/orac ...

  3. php中的钩子(hook插件机制)

    对"钩子"这个概念其实不熟悉,最近看到一个php框架中用到这种机制来扩展项目,所以大概来了解下. hook插件机制的基本思想: 在项目代码中,你认为要扩展(暂时不扩展)的地方放置一 ...

  4. JavaScript——同源策略

    概念:同源策略是客户端脚本(尤其是Javascript)的重要的安全度量标准.它最早出自Netscape Navigator2.0,其目的是防止某个文档或脚本从多个不同源装载.   这里的同源指的是: ...

  5. Routing in ASP.NET Web API和配置文件的设定读取

    Routing Tables In ASP.NET Web API, a controller is a class that handles HTTP requests. The public me ...

  6. jQuery数组($.each,$.grep,$.map,$.merge,$.inArray,$.unique,$.makeArray)处理函数详解

    1. $.each(array, [callback]) 遍历[常用] 解释: 不同于例遍jQuery对象的$().each()方法,此方法可用于例遍任何对象.回调函数拥有两个参数:第一个为对象的成员 ...

  7. strcpy C++实现

    #include <iostream> #include <assert.h> using namespace std; char *strcpy(char *strDest, ...

  8. c#.net循环将DataGridView中的数据赋值到Excel中,并设置样式

    Microsoft.Office.Interop.Excel.Application excel =                new Microsoft.Office.Interop.Excel ...

  9. 【leetcode】Wildcard Matching

    Wildcard Matching Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any ...

  10. POJ 2503

    http://poj.org/problem?id=2503 题意就是字典翻译.这个输入输出真心恶心,要不是看discuss我肯定是解决不了,还用上了sscanf函数.... 这道题我用几种方法做. ...