2011-03-28 80 views
10

此问题与this thread有关,但是该线程没有答案,所以这在技术上并不重复。ADB在Eclipse中崩溃

我已经在我的Windows 7 x64上运行了ADB 1.0.26,并且使用ADT 10.0.1 SDK工具r10运行了Eclipse SDK 3.6.2,并且已经安装了所有Android SDK版本。

当我以调试模式将手机连接到计算机,并在命令提示符下键入adb devices时,我的手机显示出来。这是一款Inspire 4G。我可以将adb shell放入设备中,并且ls,因此我假设连锁店的adb/driver/phone部分正常工作。

现在,如果我接我的电话,去到Eclipse中,我得到:

[2011-03-28 17:46:33 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host

[2011-03-28 17:46:34 - DeviceMonitor]Connection attempts: 1

[2011-03-28 17:46:36 - DeviceMonitor]Connection attempts: 2

[...]

[2011-03-28 17:47:53 - DeviceMonitor]Connection attempts: 10

[2011-03-28 17:46:54 - DeviceMonitor]Connection attempts: 11

[2011-03-28 17:47:00 - adb]

[2011-03-28 17:47:00 - adb]This application has requested the Runtime to terminate it in an unusual way.

[2011-03-28 17:47:00 - adb]Please contact the application's support team for more information.

[2011-03-28 17:47:04 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host

[2011-03-28 17:47:05 - DeviceMonitor]Connection attempts: 1

[2011-03-28 17:47:07 - DeviceMonitor]Connection attempts: 2

等等,等等...这永远循环。 如果我启动Eclipse并连接手机,或者连接手机然后启动Eclipse,则无关紧要。

我不认为它应该的问题,但我的手机是一个启发4G其根源和运行革命4G 3.2

+0

这是一个编程问题? – trojanfoe 2011-03-28 07:13:45

+0

是[这](http://stackoverflow.com/questions/4573019/adb-crashes-when-device-attached-with-eclipse)一个编程问题? [this] [http://stackoverflow.com/questions/2994062/eclipse-adb-error-message-in-vista-failed-to-parse-the-output-of-adb-version),或[this ](http://stackoverflow.com/questions/5133814/phone-doesnt-show-up-in-eclipse-eventhough-adb-is-working)或[this](http://stackoverflow.com/questions/ 3912548/android-adb-unable-to-open-sync-connection)或[this](http://stackoverflow.com/questions/3926648/setting-up-android-phone-with-eclipse)? ? – Ozzah 2011-03-28 07:15:59

+0

5错误不会使右:) – trojanfoe 2011-03-28 07:18:41

回答

1

为了这个去DDMS,查找设备 - >查看菜单 - >复位亚洲开发银行。

+0

这没有帮助。如果我重置亚行,它会一遍又一遍地做同样的事情。在DDMS中,我可以看到我的手机出现,然后几秒钟后消失。 – Ozzah 2011-03-29 06:22:00

1

您是否安装了Revolution 4G ROMs?如果是这样,那么我必须安装无意义的修补程序来删除所有HTC的东西。一旦我这样做,亚行就停止在Eclipse中崩溃。

编辑 - 实际上它似乎仍然有时崩溃,但不是经常?仍然不是解决方案。

+0

是的,我正在运行革命4G。从3.2开始,我一直在运行它,直到当前的5.1.4,并且它在每个版本中都崩溃了。在这个阶段我已经完全放弃了。正如你所说,我认为这是一个ROM问题。 – Ozzah 2011-05-09 23:21:54

+0

你有没有问过迈克在xda上的这个问题? – 2011-09-29 20:04:49