`
he91_com
  • 浏览: 400992 次
文章分类
社区版块
存档分类
最新评论

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]
分享到:
评论

相关推荐

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

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

    Eclipse连接不上手机

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

    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并检查任务管理器,确认是否...

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

    一个小众的搜素软件

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

Global site tag (gtag.js) - Google Analytics