Vista中的Eclipse / adb错误消息“无法解析adb版本的输出” [英] Eclipse/adb error message in Vista "Failed to parse the output of adb version"
问题描述
我正在尝试学习Android开发,所以我下载了Eclipse Galileo和Android SDK。但是,每当我启动Eclipse时,我都会收到错误消息无法解析adb版本的输出。在控制台/ DDMS窗格中,调试输出显示为:
I am trying to learn Android development, so I downloaded Eclipse Galileo and the Android SDK. However, whenever I start Eclipse, I get the error message "Failed to parse the output of adb version." In the Console/DDMS pane, the debug output reads:
[2010-06-07 20:15:13 - ddms]无法将Selected Client的调试端口重新打开:8700
[2010-06-07 20:15:13 - ddms]协议族不支持的地址族:bind
java.net.SocketException:协议族不支持的地址族:bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown来源)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.android.ddmlib.MonitorThread.reopenDebugSelectedPort(Unknown Source)
at com.android.ddmlib.MonitorThread .run(未知来源)
[2010-06-07 20:15:13 - ddms]Failed to reopen debug port for Selected Client to: 8700 [2010-06-07 20:15:13 - ddms]Address family not supported by protocol family: bind java.net.SocketException: Address family not supported by protocol family: bind at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at com.android.ddmlib.MonitorThread.reopenDebugSelectedPort(Unknown Source) at com.android.ddmlib.MonitorThread.run(Unknown Source)
[2010-06-07 20:15:17 - adb]无法解析'adb版本'的输出
[2010-06-07 20:15:17 - adb]Failed to parse the output of 'adb version'
我正在运行Eclipse Galileo,下载最新的Android SDK,并且正在运行Windows Vista 32位SP2。我确定Android SDK路径是正确的,所有的文件都在那里。
I am running Eclipse Galileo, have the most recent Android SDK downloaded, and am running Windows Vista 32-bit SP2. I am sure that the Android SDK path is correct and that all the files are there.
我希望任何人都可以提供任何帮助。
I would appreciate any assistance anyone could provide.
PS - 如果任何人可以指示我任何有用的Android开发资源,我会很感激
P.S.--If anyone could direct me to any useful Android development resources, I would appreciate it
推荐答案
我已经解决了无法解析adb版本的输出。
但是,当与无法为所选客户端重新打开调试端口一起发生时,您可能需要:
But when happening in conjunction with "Failed to reopen debug port for Selected Client to", you might need to:
- check your "
C:\WINDOWS\system32\drivers\etc
" and make sure it contains "127.0.0.1 localhost
" (see this thread) - or check the ACL of that same file (this thread)
注意:Android -developer博客实际上是提到的堆栈溢出作为很好的Android资源资源;)
Note: the Android-developer blog has actually mentioned Stack Overflow as a good resource for Android questions;)
这篇关于Vista中的Eclipse / adb错误消息“无法解析adb版本的输出”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!