错误“与 adb 的连接已关闭,出现严重错误."

2023-04-22移动开发问题
3

本文介绍了错误“与 adb 的连接已关闭,出现严重错误."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我花了几天时间尝试启动任何 Android 程序.甚至Hello World"也给了我同样的错误:

I've spent days trying to launch any Android program. Even "Hello World" gives me the same error:

与 adb 的连接已断开,出现严重错误".

"The connection to adb is down, and a severe error has occurred".

我在 Windows XP 机器上运行 Eclipse v3.5 (Galileo)、Google API 2.2.8.

I'm running Eclipse v3.5 (Galileo), Google APIs 2.2.8, on a Windows XP machine.

我已经使用了我在网上可以找到的所有技巧:命令行adb kill-server",DDMSreset 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 start-server
  5. 启动ADB服务器没有报错,则ADB启动成功.
  6. 现在您可以再次启动 Eclipse.

这种方式对我有用.

同时重启你的手机!

这篇关于错误“与 adb 的连接已关闭,出现严重错误."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

如何在 COCOS2d Android 中使用 CClistview?
How can I use CClistview in COCOS2d Android?(如何在 COCOS2d Android 中使用 CClistview?)...
2024-08-12 移动开发问题
5

cocos2d-android:如何显示分数
cocos2d-android: how to display score(cocos2d-android:如何显示分数)...
2024-08-11 移动开发问题
7

Sqlite 数据库未从资产文件夹 Android 复制
Sqlite database not copied from asset folder Android(Sqlite 数据库未从资产文件夹 Android 复制)...
2024-04-15 移动开发问题
8

SQLite 数据库副本在由设备而不是模拟器生成时出现损坏
SQLite Database Copy Appears Corrupted When Generated by Device and not Emulator(SQLite 数据库副本在由设备而不是模拟器生成时出现损坏)...
2024-04-15 移动开发问题
4

安卓文件拷贝
Android file copy(安卓文件拷贝)...
2024-04-15 移动开发问题
6

Android如何在android中检测Edittext的Copy事件
Android how to detect Copy event of Edittext in android(Android如何在android中检测Edittext的Copy事件)...
2024-04-15 移动开发问题
5