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 ‘E:\setups\android\android-2.1_r01-windows\tools\adb.exe‘ and can be executed.

通过查找和实践,我总结了以下一些方法。

1、在Eclipse中选择菜单“help->Check for update”,选择更新ADT。 按上面操作完成后,重启Eclipse!

2、在cmd中进入adb的根目录,键入adb kill-server,然后键入adb -startserver,再重启Eclipse。

3、在任务管理器中杀死adb.exe进程,然后重启Eclipse。如果此时无法杀死adb.exe,则检查豌豆荚是否在运行,关闭豌豆荚后重试。

4、超看在你安装的SDK路径里面platform-tools文件夹中是否有adb.exe,如果没有则新建一个文件夹platform-tools,并且把tools中的文件全部复制到platform-tools中。

5、安装完手机的驱动后,关闭腕豆夹,重启eclipse。腕豆夹等类似的程序与eclipse一般不要同时打开!还可在任务管理其中关掉豌豆荚的进程。

6、模拟器有时候很不稳定,有时候要重新全部配置一遍开发环境,或者你删除模拟器重新建一个新的模拟器。

7、可能是默认端口被占用,在cmd中键入netstat查看,关掉有冲突的端口程序,或者设置新的端口。

8、将platform-tools目录和tools目录加到Path环境变量中。

9、将Eclipse进入DDMS模式,重启ADB 和Eclipse。

10、打开SDK,先下载API和android SDK Tools 和 android SDK platform-tools再去配置Eclipse。

11、开关一下 usb调试。

12、重启电脑。

13、前面的方法试了还是不行的话,建议重新装一个系统,最好换个系统。

小小总结,希望对大家有所帮助。

转自:http://www.cnblogs.com/hejing-swust/archive/2012/09/22/2698453.html

时间: 2024-07-30 10:17:14

The connection to adb is down, and a severe error has occured.问题解决方法小结的相关文章

在Eclipse中执行Andorid test preject提示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.的错误.在网友说在任务管理器上把所有adb.exe关闭掉.重启eclipse.但试过不管用.所以在外国网站上找到一种可行的方法: 1.先把eclipse关闭. 2.在管理器转到你的android SDK 的platform-tools下, 如图: 3.键入adb kill-server ,如果adb关闭了会提示 server not ru

The connection to adb is down, and a severe error has occured.问题解决

遇到问题描述: 运行android程序控制台输出 [2013-06-25 11:10:32 - MyWellnessTracker] The connection to adb is down, and a severe error has occured.[2013-06-25 11:10:32 - MyWellnessTracker] You must restart adb and Eclipse.[2013-06-25 11:10:32 - MyWellnessTracker] Plea

The connection to adb is down, and a severe error has occured. 解决方法汇总和自创方法

转载请注明出处:http://write.blog.csdn.net/postedit/39249761 昨天更新了sdk的版本后先是出现了sdk要求版本和adt版本不符合的错误,然后解决了之后又出现运行android程序启动模拟器出现以下错误: The connection to adb is down, and a severe error has occured. [2010-03-11 09:36:56 - HelloOPone] You must restart adb and Ecl

The connection to adb is down, and a severe error has occured(Android模拟器端口被占用)

相信不少同学和我一样遇到这个问题,有时候搞的还要重启电脑,那究竟是什么原因导致的呢,很明显,你的端口被占用了,那下面给出终极解决方案 一.首先描述症状,如下图 二.出现问题了,首先确定你的sdk目录是不是真的在Console输出的那个位置,如果是的话.接下来现在就要看看到底是谁占用了端口.打开命令编辑器进入你的sdk下的platform-tools文件夹输入adb start-serevr  恭喜,说明你的端口被占用了 三.接下来需要确定被占用的端口号是多少,输入命令adb nodaemon s

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.的错误.在网友说在任务管理器上把所有adb.exe关闭掉.重启eclipse.但试过不管用.所以在外国网站上找到一种可行的方法: 1.先把eclipse关闭. 2.在管理器转到你的android SDK 的platform-tools下, 如图: 3.键入adb kill-server ,如果adb关闭了会提示 server not ru

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

编程的时候 运行android程序控制台输出 [2014-4-05 16:18:26 - ] The connection to adb is down, and a severe error has occured.[2014-4-05 16:18:26 - ] You must restart adb and Eclipse.[2013-4-05 16:18:26 - ] Please ensure that adb is correctly located at 'D:\java\sdk\

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

原文地址:http://www.crifan.com/android_adt_the_connection_to_adb_is_down__and_a_severe_error_has_occured/ [总结] 出现 The connection to adb is down, and a severe error has occured 的问题,主要是由于adb没法正常运行起来: 而adb没法运行起来,主要是其端口被占用了: 常见的,可能的占用adb端口的,是你当前电脑上和手机相关的管理软件

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

出现: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

Android报错 The connection to adb is down, and a severe error has occured.

------------------------------ Android Launch! 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\adt-bundle-windows-x86_64-20140702\sdk\platform