我已经安装了最新的android sdk(android-sdk_r10-windows.zip),最新的eclipse helios(eclipse-jee-helios-SR2-win32.zip)和最新的adt插件(ADT-10.0.1.zip)。以下是我的 android sdk 已安装软件包的列表:
- Android SDK 工具,修订版 10
- Android SDK 平台工具,修订版 3
- Android SDK 文档,API 11,修订版 1
- SDK 平台 Android 3.0,API 11,修订版 1
- Google USB 驱动程序package, revision 4
我还编辑了我的 Windows 路径环境变量以包含 adb.exe 的路径,并相应地在 eclipse 首选项中设置我的 android sdk 位置。
一切看起来都很完美,直到我尝试导入示例项目(通过phonegap)。有一条控制台消息告诉“无法解析‘adb version’的输出”。
从昨天开始我就一直在谷歌上搜索。我只是想知道是否有人设法将所有这些(eclipse 3.6.2、android sdk r10、adt 10.0.1)单击在一起。
顺便说一句,我发现我们也没有办法回退到早期的 eclipse、android sdk 和 adt 插件的组合。就我而言,我设法获得了早期的 android sdk (android-sdk_r09-windows.zip) 和 adt 9。但是当我尝试在线安装基本包时,我遇到了这个错误:
“无法获取 URL https://dl-ssl.google.com/android/repository/repository.xml、原因:连接超时:连接》
早期的android sdk和adt插件不可用;最新的 android sdk 和 adt 插件不支持。
非常感谢您对此的帮助。
I have installed the latest android sdk (android-sdk_r10-windows.zip), latest eclipse helios (eclipse-jee-helios-SR2-win32.zip) and latest adt plugin (ADT-10.0.1.zip). Below is the listing for the installed packages of my android sdk:
- Android SDK Tools, revision 10
- Android SDK Platform-tools, revision 3
- Documentation for Android SDK, API 11, revision 1
- SDK Platform Android 3.0, API 11, revision 1
- Google USB Driver package, revision 4
I did also edit my Windows path environment variable to include the path to adb.exe and set my android sdk location in eclipse preferences accordingly.
Everything looks perfect until I try to import a sample project (by phonegap). There is a console message telling "Failed to parse the output of 'adb version'".
I have been googling around since yesterday. I just wonder if anyone did manage to get all these (eclipse 3.6.2, android sdk r10, adt 10.0.1) click together.
By the way, I find that there is also no way for us to fall back to earlier combination of eclipse, android sdk, and adt plugin. In my case, I managed to get an earlier android sdk (android-sdk_r09-windows.zip) and adt 9. But when I tried to install the basic packages online, I was hit by this error:
"Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect"
Earlier android sdk and adt plugin is not available; latest android sdk and adt plugin is not capable.
Many thanks for help on this.
发布评论
评论(4)
从这里开始: http://developer.android.com/sdk/eclipse-adt.html< /a>
转到安装 URL: http://developer.android.com /sdk/eclipse-adt.html#installing
查看下载路径:http://dl.google.com/android/ADT-10.0.1.zip
替换该链接中您想要的版本:
ADT 10.0.1: http://dl.google.com/android/ADT-10.0.1.zip
ADT 10.0.0:< a href="http://dl.google.com/android/ADT-10.0.0.zip" rel="nofollow">http://dl.google.com/android/ADT-10.0.0.zip< /a>
ADT 9.0.0(死链接):http://dl.google .com/android/ADT-9.0.0.zip
ADT 9.0.0: http://dl.google.com/android/ADT_9.0.0.zip
ADT 8.0.1:http://dl.google.com/android/ADT-8.0.1.zip
ADT 8.0.0:http://dl.google.com/android/ADT-8.0.0.zip
ADT 0.9.9:http://dl.google.com/android/ADT-0.9.9.zip
ADT 0.9 .8:http://dl.google.com/android/ADT-0.9。 8.zip
ADT 0.9.7:http://dl.google .com/android/ADT-0.9.7.zip
ADT 0.9.6:http://dl.google.com/android/ADT-0.9.6.zip
ADT 0.9.5:http://dl.google.com/android/ADT-0.9.5.zip
ADT 0.9.4:http://dl.google.com/android/ADT-0.9.4.zip
鉴于 9.0.0 链接将路径中的“-”交换为“_”,看起来有些可怜的灵魂正在手工进行这些构建。不幸的是,目录浏览不适用于这些。无论如何,希望这对将来的人有帮助。
Start Here: http://developer.android.com/sdk/eclipse-adt.html
Head over to the installing URL: http://developer.android.com/sdk/eclipse-adt.html#installing
Look at the path for the download: http://dl.google.com/android/ADT-10.0.1.zip
Substitute the version you want in that link:
ADT 10.0.1: http://dl.google.com/android/ADT-10.0.1.zip
ADT 10.0.0: http://dl.google.com/android/ADT-10.0.0.zip
ADT 9.0.0 (Dead Link): http://dl.google.com/android/ADT-9.0.0.zip
ADT 9.0.0: http://dl.google.com/android/ADT_9.0.0.zip
ADT 8.0.1: http://dl.google.com/android/ADT-8.0.1.zip
ADT 8.0.0: http://dl.google.com/android/ADT-8.0.0.zip
ADT 0.9.9: http://dl.google.com/android/ADT-0.9.9.zip
ADT 0.9.8: http://dl.google.com/android/ADT-0.9.8.zip
ADT 0.9.7: http://dl.google.com/android/ADT-0.9.7.zip
ADT 0.9.6: http://dl.google.com/android/ADT-0.9.6.zip
ADT 0.9.5: http://dl.google.com/android/ADT-0.9.5.zip
ADT 0.9.4: http://dl.google.com/android/ADT-0.9.4.zip
Given that the 9.0.0 link swapped a '-' for a '_' in the path, it looks like some poor soul is doing these builds by hand. Too bad directory browsing isn't available for these. Anyway, hope this helps someone in the future.
您可以从 https://dl-ssl.google.com/android 更改网址/repository/repository.xml 到 http://dl-ssl。 google.com/android/repository/repository.xml 并重试。
您可以检查尝试导入的项目是否存在与您的 Eclipse 或 SDK 版本不兼容的设置。
You can change the url from https://dl-ssl.google.com/android/repository/repository.xml to http://dl-ssl.google.com/android/repository/repository.xml and try again.
You can check the project you are trying to import for settings which are not campatible with your Eclipse or SDK version.
eclipse版本应该没问题。您应该关注 SDK 版本。许多人在 Windows 版本 10 上遇到了麻烦。只要您使用的 URL 正确,您就可以轻松安装和使用所有以前版本的 Android SDK。
The eclipse version should be fine. You should focus on the SDK version. many have had trouble on Windows with rev 10. You can install and use all the previous versions of Android SDK easily as long as the url you're using is correct.
我终于把所有这些都组合在一起了。这实际上是由于防病毒/防火墙程序造成的。确实eclipse、adt插件或者android sdk都没有问题。只需确保 Android 可执行文件的运行未被阻止即可。不管怎样,非常感谢那些为这篇文章做出贡献的人。
I finally got all these click together already. It is actually due to the antivirus/firewall program. It is indeed nothing wrong with eclipse, adt plugin or android sdk. Just make sure that android executables is not blocked from running. Anyway, big thanks to those contributed to this post.