`

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

阅读更多
自己总结的在android中常会出现的不好解决的问题和方法
(其中第三个方法经过了四天的折磨。。。。。哎)

1.报错:
BUILD FAILED
D:\workspace\ganji\build.xml:144: The following error occurred while executing this line:
D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar
解决:
已经开了一个模拟器了,无法重新编译,必须关闭一个。用于ant


2.报错:
The connection to adb is down, and a severe error has occured.
这个问题谁能解决啊
解决:
cmd跳到sdk tools文件路径下
adb kill-server
然后再adb start-server

3.报错:
The connection to adb is down, and a severe error has occured.
[2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse.
[2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5
\platform-tools\adb.exe' and can be executed.
解决:
方法1.cmd中adb kill-server,然后adb -startserver
方法2.方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。
方法3.方法1和2都不管用,那么查看最后一句报错中:platform-tools中是否有adb.exe(我的错误就是在相关路径下面没有platform-tools文件夹
,所以我选择新建一个文件夹,并且把tools中的文件全部复制到platform-tools中)
4.前面的方法试了还是不行的话,建议重新装一个系统,最好换个系统。有些大牛也说过:MS存在一些小问题[size=large][/size]
分享到:
评论
17 楼 lsll_android 2013-07-18  
好东西!!!
16 楼 ddcz 2013-02-16  
豌豆荚害死人啊
15 楼 mfkxk298 2012-11-21  
天杀的豌豆荚!害我半天工作不了!!
14 楼 有女未长成 2012-11-12  
jato333 写道
昨天能正常使用,对比了一下安装的程序,昨天晚上为了下载android开发资料,安装了一些下载工具(电驴、豌豆荚、flashget),按照楼主的操作试了几次都不成功,最后把电驴、豌豆荚、flashget卸载后就正常了,看来是网络端口被占用导致的,试一下这些方法吧。

期望楼主把11楼的经验加进去,我的是目录存在,就是因为装了豌豆荚搞的……
13 楼 yuhaibo6646737 2012-11-09  
thanks
12 楼 1045519925 2012-10-03  
问题解决啦,我的用第一个就可以了。
11 楼 jato333 2012-09-29  
昨天能正常使用,对比了一下安装的程序,昨天晚上为了下载android开发资料,安装了一些下载工具(电驴、豌豆荚、flashget),按照楼主的操作试了几次都不成功,最后把电驴、豌豆荚、flashget卸载后就正常了,看来是网络端口被占用导致的,试一下这些方法吧。
10 楼 KLren 2012-09-28  
嗯,确实是第一种问题所致。谢谢
9 楼 jingyening 2012-09-24  
qizhe 写道
如果进程中有wangdoujie,也会无法启动adb.exe

谢谢!
8 楼 sunny78117 2012-07-18  
谢谢,第三个问题;第一种方法成功
7 楼 qizhe 2012-07-08  
如果进程中有wangdoujie,也会无法启动adb.exe
6 楼 crystalfish 2012-06-14  
我的进程里面没有adb,怎么办呢
5 楼 seawh411 2011-12-01  
thanks.
4 楼 logger 2011-10-31  
zxciop1100 写道
成功  谢谢 

客气啥。。。。下载我的软件帮我。。行了
3 楼 zxciop1100 2011-10-07  
成功  谢谢 
2 楼 logger 2011-08-18  
zhouYunan2010 写道
我晕,直接关闭任务管理器中的多个adb进程,然后重启eclipse就好了。

具体的还真的没有试过你的这个方法。以后遇到的时候在试验吧
1 楼 zhouYunan2010 2011-08-08  
我晕,直接关闭任务管理器中的多个adb进程,然后重启eclipse就好了。

相关推荐

    The connection to adb is down问题

    在Android开发过程中,我们经常会遇到"The connection to adb is down"的问题。此问题出现时,通常伴随着构建失败、应用无法安装或调试异常等现象,严重影响了开发效率。本文将从多个角度对这一问题进行深入分析,并...

    深入android中The connection to adb is down的问题以及解决方法

    自己总结的在android中常会出现的不好解决的问题和方法1.报错:BUILD FAILEDD:\workspace\ganji\build.xml:144: The following error occurred while executing this line:D:...报错:The connection to adb is down, a

    Android编程中出现The connection to adb is down问题的解决方法

    本文分析了Android编程中出现The connection to adb is down问题的解决方法。分享给大家供大家参考,具体如下: 1.报错: BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while ...

    解决Android模拟器端口被占用问题的办法

     今天在Eclipse中运行Android项目时遇到”The connection to adb is down, and a severe error has occured”这个问题,如下图所示:    第一次遇到这个问题,上网查了一下原因,原来”The connection to adb is ...

    【JAVA】Please ensure that adb is correctly located at 解决详细方案

    当控制台输出"The connection to adb is down, and a severe error has occured"时,表示ADB与Eclipse(或者现在可能是Android Studio)之间的连接已中断,导致无法进行正常的开发操作。常见的原因可能有以下几点: ...

    adb 端口被占用详细解决方法

    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:\Program Files\Android\android-sdk\platform-tools\adb...

    Eclipse连接不上手机

    这个问题通常表现为"The connection to adb is down",这涉及到ADB(Android Debug Bridge)的连接问题。本文将深入探讨这个问题的原因以及提供一系列的解决方案。 首先,我们要理解ADB在Android开发中的作用。ADB...

    Android adb.exe程序启动不起来 具体解决方法

    经常遇到 Please ensure that adb is ... [2012-07-18 16:18:26 – ] The connection to adb is down, and a severe error has occured. [2012-07-18 16:18:26 – ] You must restart adb and Eclipse. [2012-07

    Android adb 出错解决方法

    [2012-07-18 16:18:26 - ] The connection to adb is down, and a severe error has occured.  [2012-07-18 16:18:26 - ] You must restart adb and Eclipse.  [2012-07-18 16:18:26 - ] Please ensure that adb ...

    ADB server didn't ACK,failed to start daemon的解决方法.docx

    在进行Android应用程序开发的过程中,开发者可能会遇到以下错误信息:“The connection to adb is down, and a severe error has occurred. You must restart adb and Eclipse...”。此错误通常伴随着ADB server未...

    android平台初级错误整理

    5. **The connection to adb is down, and a severe error has occurred** 解决方案包括: - 关闭任务管理器中的所有adb.exe进程。 - 重启Eclipse或你的IDE。 6. **The application has stopped unexpectedly** ...

    android eclipse 运行项目报错解决

    he connection to adb is down, and a severe error has occured.[2014-01-14 21:42:11 - myBluetooth] You must restart adb and Eclipse.[2014-01-14 21:42:11 - myBluetooth] Please ensure that adb is ...

    hprof-conv.exe

    [2016-07-10 17:09:11 - QtActivity] The connection to adb is down, and a severe error has occured. [2016-07-10 17:09:11 - QtActivity] You must restart adb and Eclipse. [2016-07-10 17:09:11 - ...

    Android日常问题.docx

    10. **Android中the connection to adb is down问题解决** 这通常是因为adb进程崩溃或设备连接问题。重启adb(`adb kill-server`和`adb start-server`),检查USB驱动和设备连接,或者重新启动设备和计算机。 11. ...

    Android开发环境配置问题

    在运行第一个Android示例应用时,可能会遇到adb连接错误,提示"The connection to adb is down, and a severe error has occurred"。这种情况下,可以按照以下步骤解决: 1. 关闭Eclipse并检查任务管理器,确认是否...

    一个小众的搜素软件

    你还在纠结电脑没网,想要搜索“The connection to adb is down, and a severe error has occured”,必须在手机上输入而痛苦吗,现在完全不必要,只要手机USB连接电脑,运行手机Android客户端,再运行电脑客户端,...

Global site tag (gtag.js) - Google Analytics