错误“到adb的连接已断开,并且发生了严重错误。” [英] Error "The connection to adb is down, and a severe error has occurred."
问题描述
我花了几天时间尝试启动任何Android程序。甚至 Hello World也给我相同的错误:
I've spent days trying to launch any Android program. Even "Hello World" gives me the same error:
与adb的连接已断开,并且发生了严重错误。 / p>
"The connection to adb is down, and a severe error has occurred".
我正在Windows XP计算机上运行Eclipse v3.5(Galileo),Google APIs 2.2.8。
I'm running Eclipse v3.5 (Galileo), Google APIs 2.2.8, on a Windows XP machine.
我用了所有可以在网上找到的技巧:命令行 adb kill-server,DDMS reset ADB,在之前和之前都启动了模拟器Eclipse之后,并搜索其他程序正在使用的端口。
I've used all the tricks I can find on the web: the command line "adb kill-server", the DDMS "reset ADB", I started the emulator both before and after Eclipse, and searched for ports being used by other programs.
这是怎么回事?是否可以将Eclipse,Java,ADB,仿真器以及其他任何有效的版本组合在一起?
What is going on here? Is there a magic combination of versions of Eclipse, Java, ADB, emulator, and whatever else that works?
推荐答案
请尝试以下方法步骤:
- 如果正在运行,请关闭Eclipse
- 转到 Android SDK platform-tools目录中命令提示符
- 键入
adb kill-server
(在发出这些命令之前,应先关闭Eclipse ) - 然后键入
adb启动服务器
- 启动ADB服务器时不会引发错误消息,
- 现在您可以再次启动Eclipse。
- Close Eclipse if running
- Go to the Android SDK platform-tools directory in the command prompt
- Type
adb kill-server
(Eclipse should be closed before issuing these commands) - Then type
adb start-server
- No error message is thrown while starting the ADB server, then ADB is started successfully.
- Now you can start Eclipse again.
也重新启动手机!
这篇关于错误“到adb的连接已断开,并且发生了严重错误。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!