错误“到adb的连接已断开,并且发生了严重错误。” [英] Error "The connection to adb is down, and a severe error has occurred."

查看:107
本文介绍了错误“到adb的连接已断开,并且发生了严重错误。”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了几天时间尝试启动任何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?

推荐答案

请尝试以下方法步骤:


  1. 如果正在运行,请关闭Eclipse

  2. 转到 Android SDK platform-tools目录中命令提示符

  3. 键入 adb kill-server 在发出这些命令之前,应先关闭Eclipse
  4. 然后键入 adb启动服务器

  5. 启动ADB服务器时不会引发错误消息,

  6. 现在您可以再次启动Eclipse。

  1. Close Eclipse if running
  2. Go to the Android SDK platform-tools directory in the command prompt
  3. Type adb kill-server (Eclipse should be closed before issuing these commands)
  4. Then type adb start-server
  5. No error message is thrown while starting the ADB server, then ADB is started successfully.
  6. Now you can start Eclipse again.

也重新启动手机!

这篇关于错误“到adb的连接已断开,并且发生了严重错误。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆