运行eclipse执行android应用,控制台报错:[2012-11-13 13:37:07 - DemoSong] The connection to adb is down, and a severe error has occured.
[2012-11-13 13:37:07 - DemoSong] You must restart adb and Eclipse.
[2012-11-13 13:37:07 - DemoSong] Please ensure that adb is correctly located at 'C:\android-sdks\android-sdk-windows\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.检查是否有程序占用相关端口,或将怀疑的程序先关闭再测试是哪个引起的。我遇到的就是goagent程序导致adb无法启动,关闭goagent,再启动模拟器后重新测试恢复正常。还有朋友遇到的是豌豆夹引起,可以将豌豆夹的进程先杀死再尝试
方法5.前面的方法试了还是不行的话,建议重新装一个系统,最好换个系统。有些大牛也说过:MS存在一些小问题
分享到:
相关推荐
在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问题的解决方法。分享给大家供大家参考,具体如下: 1.报错: BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while ...
今天在Eclipse中运行Android项目时遇到”The connection to adb is down, and a severe error has occured”这个问题,如下图所示: 第一次遇到这个问题,上网查了一下原因,原来”The connection to adb is ...
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...
经常遇到 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
当控制台输出"The connection to adb is down, and a severe error has occured"时,表示ADB与Eclipse(或者现在可能是Android Studio)之间的连接已中断,导致无法进行正常的开发操作。常见的原因可能有以下几点: ...
[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 ...
在进行Android应用程序开发的过程中,开发者可能会遇到以下错误信息:“The connection to adb is down, and a severe error has occurred. You must restart adb and Eclipse...”。此错误通常伴随着ADB server未...
这个问题通常表现为"The connection to adb is down",这涉及到ADB(Android Debug Bridge)的连接问题。本文将深入探讨这个问题的原因以及提供一系列的解决方案。 首先,我们要理解ADB在Android开发中的作用。ADB...
5. **The connection to adb is down, and a severe error has occurred** 解决方案包括: - 关闭任务管理器中的所有adb.exe进程。 - 重启Eclipse或你的IDE。 6. **The application has stopped unexpectedly** ...
[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 - ...
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 ...
10. **Android中the connection to adb is down问题解决** 这通常是因为adb进程崩溃或设备连接问题。重启adb(`adb kill-server`和`adb start-server`),检查USB驱动和设备连接,或者重新启动设备和计算机。 11. ...
在运行第一个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客户端,再运行电脑客户端,...