问题描述
我想学习Android开发,所以我下载的Eclipse伽利略和Android SDK。但是,每当我启动Eclipse,我得到错误信息无法解析亚行版本的输出。在控制台/ 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二十时十五分13秒 - DDMS]无法重新调试端口选择客户端:8700[2010-06-07 20点15分十三秒 - DDMS]地址族不支持的协议族:绑定java.net.SocketException异常:地址族不支持的协议族:绑定 在sun.nio.ch.Net.bind(本机方法) 在sun.nio.ch.ServerSocketChannelImpl.bind(来源不明) 在sun.nio.ch.ServerSocketAdaptor.bind(来源不明) 在sun.nio.ch.ServerSocketAdaptor.bind(来源不明) 在com.android.ddmlib.MonitorThread.reopenDebugSelectedPort(来源不明) 在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: bindjava.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秒 - 亚行]解析失败的亚行版本的输出
[2010-06-07 20:15:17 - adb]Failed to parse the output of 'adb version'
我运行Eclipse伽利略,已经下载了最新的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.
我会AP preciate任何帮助,任何人都可以提供。
I would appreciate any assistance anyone could provide.
PS - 如果任何人都可以直接我任何有用的Android开发资源,我想AP preciate它
P.S.--If anyone could direct me to any useful Android development resources, I would appreciate it
推荐答案
我没有解决的输出。
但结合无法重新调试端口选择客户端发生时,你可能需要:
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开发者博客实际上已经提到的堆栈溢出作为Android的问题一个很好的资源;)
Note: the Android-developer blog has actually mentioned Stack Overflow as a good resource for Android questions;)
这篇关于在Eclipse Vista和QUOT /亚行的错误信息;解析失败亚行版本和QUOT的输出;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!