码迷,mamicode.com
首页 > 移动开发 > 详细

Android基础(2)error:The connection to adb is down, and a severe error has occured.

时间:2014-09-21 22:23:11      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:android   基础知识   错误分析   

出现:The connection to adb is down, and a severe error has occured.

启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误

(1).先把eclipse关闭.

(2)cmd 命令进入android\adt-bundle-windows\sdk\platform-tools文件中

(3)键入命令adb kill-server ,如果adb关闭了会提示:
         * server not running *。

(4)键入命令:adb start-server 如果成功的话不会有任何提示,没有成功的话会有多种错误。

adb server is out of data . killing ...

ADB server didn‘t ACK

*failed to start daemon*

分析:出错的原因是adb的端口被其他程序的进程占领了,所以要做的就是找到并kill该进程。

在cmd中执行adb nodaemon server,查看adb的端口号是多少,一般情况下是5037(why?应该软件使用的端口号是固定的)。找到后在任务管理器中关闭该进程即可。

Android基础(2)error:The connection to adb is down, and a severe error has occured.

标签:android   基础知识   错误分析   

原文地址:http://blog.csdn.net/u013476464/article/details/39454767

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!