一.ADB server didn't ACK
在配置完Android环境后,运行第一个程序时,遇到了如下错误:
        ADB server didn't ACK
        * failed to start daemon *
它可能的原因是端口5037被占用,需要查找占用5037(Android默认)端口的PID,在cmd中输入:
        netstat -ano | findstr "5037"
输出进程:
        TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       9292  
        TCP    127.0.0.1:5037         127.0.0.1:49422        ESTABLISHED     9292  
        TCP    127.0.0.1:49422        127.0.0.1:5037         ESTABLISHED     3840
此时把该进程“9292”结束,代码如下:
        TASKLIST | findstr "9292"
二.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 'D:\..\platform-tools\adb.exe' and can be executed.
如下图所示:

解决方法是在cmd中调用adb kill-server,再调用adb start-server开启服务.但是可能会出现错误:
        adb server is out of date.  killing... 
        ADB server didn't ACK 
        * failed to start daemon *

这是因为端口号被占用,查看豌豆荚或手机助手占用端口号,将kadb\qadb进程关闭.
具体方法如下:
1.先将Eclipse和豌豆荚关掉,同时结束进程kadb.

2.使用cd去到platform-tools文件夹下(含有adb.exe),并开启adb服务如我的指令是:
       G:
       cd G:\software\Program software\Android\adt-bundle-windows-x86_64-20140321\sdk\platform-tools
        adb start-server
成功时输出:
        * daemon not running.Starting it now on port 11888*
        * daemon started successfully *

最后点击platform-tools文件夹中adb.exe应用程序,再运行程序即可.
注意上面的程序上面的程序输出端口号为11888,如果你的还是不成功,可以修改环境的端口号,如下:

修改端口号再按上面的步骤实现即可.这是配置Android+Eclipse的错误解决方案,希望对你有用~
(By:Eastmount 2014-10-20 夜2点 http://blog.csdn.net/eastmount/)

[Android] The connection to adb is down, and a severe error has occured相关推荐

  1. 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 ...

  2. eclipse运行android项目出现The connection to adb is down, and a severe error has occured.的问题

    问题描述:在eclipse运行android项目时出现以下信息: [plain] view plaincopy The connection to adb is down, and a severe ...

  3. 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 Ec ...

  4. The connection to adb is down, and a severe error has occured.

    今天安装安卓的开发环境,写了一个helloworld,运行时发现出现错误: The connection to adb is down, and a severe error has occured. ...

  5. The connection to adb is down, and a severe error has occured

    ADB server didn't ACK * failed to start daemon * 问题描述:在eclipse的Logcat出现错误 [2014-01-08 14:00:07 - adb ...

  6. 转 The connection to adb is down, and a severe error

    相信不少同学和我一样遇到这个问题,有时候搞的还要重启电脑,那究竟是什么原因导致的呢,很明显,你的端口被占用了,那下面给出终极解决方案: 一.首先描述症状,如下图 二.出现问题了,首先确定你的sdk目录 ...

  7. android中The connection to adb is down .. You must restart adb and Eclipse问题的解决

    报错如下: The connection to adb is down, and a severe error has occured. [2010-03-11 09:36:56 - HelloOPo ...

  8. android中The connection to adb is down,问题和解决 AndroidEclipseAntXML

    1.报错: BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while executing th ...

  9. 遇到问题描述:Android Please ensure that adb is correctly located at问题解决

    遇到问题描述: 运行android程序控制台输出 [2013-11-04 16:18:26 - ] The connection to adb is down, and a severe error ...

最新文章

  1. tomcat1.8,tomcat-users.xml文件中如下修改才可以使用app manager登录,其中的roles有哪些枚举需要确认
  2. LruDiskCache要点--不可不用的磁盘缓存工具类
  3. VC用MFC开发的圆形进度条控件
  4. Maven and Nexus2
  5. 无代码调整聚类热图分支顺序
  6. 实验一 分治与递归—用分治法实现元素选择 java算法
  7. 学习笔记 | 读完《公开募集证券投资基金销售机构监督管理办法》的几点感受
  8. php教程 网易,网易开源镜像使用帮助
  9. java移库数据同步,洗车管理系统会员管理+门店店务同步管理
  10. AXI Memory-Mapped SRIO收发控制器
  11. UBUNTU——启动栏图标问号?异常
  12. Allegro PCB 转 PADS Layout 之后的修修补补
  13. c语言中锁的作用,C语言实现原子锁(二)
  14. python是面向对象开发_Python开发之路-面向对象
  15. 解决Windows server 2003不认U盘
  16. txt文本去重复 亲测50G文本高效去重复
  17. 银行卡识别-自动识别银行卡号
  18. 美团2021校招笔试-编程题-第10场
  19. PHP 免费获取手机号码归属地
  20. 电商项目_dwd主题域

热门文章

  1. 用nagios监控ORACLE服务器
  2. 神州英才战略盈利竞争力总结
  3. 如何将编写好的CS文件做成exe可执行文件
  4. 由于权限不足而无法读取配置文件出现的HTTP 500.19解决办法
  5. JAVA中int、String的类型转换
  6. gVim 中文内容显示为乱码的解决办法
  7. SharePoint【调试,诊错系列】-- 开发环境中不同调试对象的Attach方式
  8. 使用Nexus2.x为Maven3.x搭建私服构件仓库
  9. 将excel用VBA生成指定格式的TXT文件
  10. VC++实现获取DNS服务器