与adb的连接已关闭,并发生严重错误 [英] The connection to adb is down, and a severe error has occurred
问题描述
可能重复:
与adb的连接关闭,并发生严重错误
我正在尝试在最新版本的Eclipse中为Android开发应用程序。当我尝试构建和运行时,以下出现:
I am currently trying to develop an application for Android in the latest release of Eclipse. When I try to build and run, the following comes up:
[2011-02-17 17:08:03 - <ProgramName>] The connection to adb is down, and a severe error has occured.
[2011-02-17 17:08:03 - <ProgramName>] You must restart adb and Eclipse.
[2011-02-17 17:08:03 - <ProgramName>] Please ensure that adb is correctly located at 'C:\<sdk-directory>s\platform-tools\adb.exe' and can be executed.
现在,我更新了ADT插件,我有最新版本的Android SDK;实际上,adb.exe在platform-tools目录中,可以执行。我尝试过在Google上发现的一切:
Now, I have updated the ADT plugin, I have the latest version of the Android SDK; adb.exe is, in fact, in the platform-tools directory and can be executed. I've tried everything I found on Google:
- 我尝试过adb kill-server和adb start-server
- 我尝试运行它没有一个模拟器开始
- 我有PATH中给定的目录(我尝试只是平台工具的路径,我试过在我的PATH中有两个平台工具和工具)。
注意:我正在运行Windows 7.另外,在Eclipse中升级SDK后,这个错误对我来说是新的。
Notes: I am running Windows 7. Also, I have previously tested apps in Eclipse. This error is new to me since upgrading the SDK.
推荐答案
我只是遇到同样的问题,并修复它,我打开任务管理器并杀死了adb.exe进程我重新启动了Eclipse。
I just got the same problem and to fix it, I opened the task manager and killed the adb.exe process, then I restarted Eclipse.
这篇关于与adb的连接已关闭,并发生严重错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!