Android的Eclipse插件"重置ADB"给人"亚行连接错误:EOF"错误,不堵,但它是什么?错误、给人、但它、插件

2023-09-06 02:14:33 作者:晚期缺衣症

我想工作,通过自己的记事本教程,并说明了如何在Eclipse项目应该自动的创建和重新生成自动生成的code当一个文件被保存。这没有发生,看着他们的调试,他们建议在DDMS透视图在设备面板上的重置ADB链接。当我尝试这样做,我碰到下面的输出,我认为是坏的:

I'm trying to work through their notepad tutorial and it describes how the Eclipse project should automagically build and re-generate the auto-generated code when a file is saved. That wasn't happening, and looking at their debugging, they suggest the "reset adb" link in the DDMS perspective in the Devices panel. When I try to do that, I get the following output which I assume is bad:

[2010-01-03 23:09:51 - DeviceMonitor]Adb connection Error:EOF
[2010-01-03 23:09:51 - DeviceMonitor]Connection attempts: 1

快速谷歌没有透露什么特别有用。什么是接下来的调试步骤和/或可能是什么问题?

a quick Google didn't reveal anything particular useful. What are the next debugging steps and/or what might be the issue?

更新:所以这其实不是一个问题,像我还以为是,但我还是会好奇,如果有人知道这个消息意味着

UPDATE: So this actually isn't a problem like I thought it was, but I'd still be curious what this message means if anyone knows.

推荐答案

DDMS采用了长寿命连接到亚洲开发银行服务器运行在本地获取信息关于连接的设备/仿真器等,你通常发布的错误信息只是意味着连接亚洲开发银行已丢失。

DDMS uses a long-lived connection to the adb server running locally to get info about connected devices/emulators etc. The error message you posted generally just means that the connection to adb has been lost.

由于您运行了reset命令,基本上是刚杀和重新启动的亚洲开发银行工艺,使Eclipse中显示了一会儿无害的警告。

Because you ran the reset command, you essentially just killed and restarted an adb process, so Eclipse showed that harmless warning for a moment.

您可以通过手动查杀亚洲开发银行过程中看到这个自己。 Eclipse将显示连接尝试:n用法的放弃之前约10次。

You can see this yourself by killing the adb process manually. Eclipse will show Connection attempts: n for about 10 attempts before giving up.