点击项目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. svn co 与ssl

    默认情况下, yum安装的svn用的是GnuTLS, 而不是ssl, 导致checkout https协议打包的svn repo的时候会报错. 解决方法是用openssl重新编译安装svn.注意ssl ...

  2. django rest framework 的url标签的问题

    如何在模板中引用一个在rest framework中的url? urls.py from django.conf.urls import patterns, url from .views impor ...

  3. mybatis动态SQL - like

    用'%${name}%'可以实现模糊查询,但会放开SQL注入漏洞. <when test="name != null and name!=''"> AND name l ...

  4. 一个简单的log

    #pragma once #include <windows.h> #include <process.h> class CLogger { public: static CR ...

  5. POJ 1016

    http://poj.org/problem?id=1016 一道字符串处理的题目,理解题意后注意细节就好. 题意:每一串数字 都可以写成 a1 b1 a2 b2 ....ai bi 其中ai是指bi ...

  6. 使用Java的多线程和IO流写一个文件复制功能类

    创建一个复制功能类,继承Thread类,重写run()方法,把FileInputStream和FileOutputStream输入输出流写在run()方法内.示例代码如下: import java.i ...

  7. winrt 真正的绑定任意命令

    下载codeplex上的winrttrigger开源控件 Winrt.Tirgger.EventTrigger trigger = new Winrt.Tirgger.EventTrigger();  ...

  8. (转)JAVA AJAX教程第三章—AJAX详细讲解

    现在开始深入AJAX,这里还是按老思路,理论和实践相结合.这章的内容主要是讲解AJAX步骤详解,下一张将会用一个AJAX技术实现页面提示效果的实例来说明AJAX的实现. 一.AJAX步骤详解 AJAX ...

  9. IOS searchBar去掉背景

    修改UISearchBar的背景颜色 UISearchBar是由两个subView组成的,一个是UISearchBarBackGround,另一个是UITextField. 要IB中没有直接操作背景的 ...

  10. SlimDX.dll安装之后所在位置

    C:\Windows\Microsoft.NET\assembly\GAC_64\SlimDX\v4.0_4.0.13.43__b1b0c32fd1ffe4f9\SlimDX.dll