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\platform-tools\adb.exe‘ and can be executed.

  1. 任务管理器 kill掉adb 或者重启adb server,如果任务管理器就没有adb ,应该是某个程序占用了adb端口。

    5037为adb默认端口 查看该端口情况如下:

    netstat -aon|findstr "5037"

    TCP 127.0.0.1:5037 0.0.0.0:0 SYN_SENT 3772

    发现3772占用了 5037端口,继续查看3772的task,发现是wandoujia .如下所示

    tasklist|findstr "3772"

    wandoujia_daemon.exe 3772 Console 1 38,636 K

    接下来问题就好解决了,在任务管理器关闭到掉wandoujia_daemon.exe ,运行android程序,ok

  2. 2

    将android-sdk-windows/platform-tools和android-sdk-windows/tools都加到环境变量中去。(classpath或者path)

时间: 2024-10-27 00:47:34

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模拟器端口被占用)

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

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端口的,是你当前电脑上和手机相关的管理软件

在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

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

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. Android ADB server didn't ACK * failed to start daemon. 解决方案

ADB server didn't ACK 这个问题会困恼很多的新手朋友,我以前刚开始做Android的时候也遇到过这个问题,不过自己百度,google啥的,也不知道怎么就给解决了,看到群里很多新手朋友都会问这个问题,说实话我也没有一个解决这个问题的终极方法(百试百灵的那种,哈哈),自己没遇到也没有认真的去对待他,今天,就是在今天,我打开Eclipse连上手机,准备调试程序,出现如下的信息 The connection to adb is down, and a severe error has

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

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