简体   繁体   English

在Win7 64位上使用最新(r13)版本的Android SDK Manager无法检索repository.xml

[英]Using the latest (r13) version of Android SDK Manager on win7 64 bit fails to retrieve repository.xml

So I've got a brand new PC with win7 64 bit on it. 因此,我有一台配备Win7 64位的全新PC。 I'm trying to get up and running with android SDK and eclipse. 我正在尝试使用android SDK和Eclipse进行启动和运行。 I've done this before on other win7 32 bit machines and never had issues. 我以前在其他win7 32位计算机上完成过此操作,但从未遇到过问题。 But now on this new machine, I have installed JDK 1.7.0 (64 bit), I have installed eclipse indigo 64 bit, and I've installed r13 of the sdk from here. 但是现在在这台新机器上,我已经安装了JDK 1.7.0(64位),已经安装了eclipse indigo 64位,并且已经从这里安装了sdk的r13。

http://developer.android.com/sdk/index.html http://developer.android.com/sdk/index.html

But every time I try to launch the sdk manager (yes, I did get it installed with the "back" and "next" trick to make sure it found java) it fails to download the repository.xml file. 但是每次我尝试启动sdk管理器时(是的,我的确安装了“ back”和“ next”技巧以确保它找到了Java),但它无法下载repository.xml文件。 The error I get 4 times is: 我得到4次的错误是:

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml , reason: Invalid argument: connect 无法获取URL http://dl-ssl.google.com/android/repository/repository.xml ,原因:无效的参数:connect

Note that I did shut off mcafee firewall so I don't think that's the issue. 请注意,我确实关闭了mcafee防火墙,所以我不认为这是问题所在。 I also tried the tricks mentioned many many places about trying with and without https://... I have a direct connection, so I don't believe I need a proxy at all. 我也尝试了很多地方提到的技巧,无论是否使用https:// ...,我都有直接的联系,所以我根本不认为我需要代理。 And I've verified that URL can load the xml into chrome. 而且我已经验证URL可以将xml加载到chrome中。

So I'm totally out of ideas now!!! 所以我现在完全没主意了!!! Please help! 请帮忙!

I executed C:\\android-sdk-windows\\toolandroid.bat to get the repository.XML , which opened the Android SDK Manager and downloaded the list of things to install. 我执行了C:\\android-sdk-windows\\toolandroid.bat以获取repository.XML ,它打开了Android SDK Manager并下载了要安装的东西列表。 Then I clicked "Accept All" for the agreements. 然后,我单击“全部接受”以获取协议。

The first time I tried to install, it looked like it did, but didn't. 我第一次尝试安装时,看起来像是,但是没有。 (Each item said "null" as it attempted to install.) After I put the proxy settings into the SDK manager (Tools > Options) , each of the packages (68!) downloaded. (在尝试安装时,每个项目都说“ null”。)将代理设置放入SDK管理器(Tools > Options) ,每个软件包(68个)都下载了。 (I copied the proxy info from IE Internet Options > Connections > LAN Settings .) (我从IE Internet Options > Connections > LAN Settings复制了代理信息。)

HTC and MOTODEV request logins when you attempt to install their packages, but I haven't created an account, and so just skipped them. 当您尝试安装HTC和MOTODEV的软件包时,他们请求登录,但是我尚未创建帐户,因此跳过了它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Windows 7中使用Android SDK R13的JDK 7 - JDK 7 with Android SDK R13 in windows 7 Android SDK 管理器在选择存储库时出现“无法获取 URL https://dl-ssl.google.com/android/repository/repository.xml”错误 - Android SDK Manager gives “Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml” error when selecting repository Android SDK Manager在Windows 8 64bit上失败 - Android SDK Manager fails on Windows 8 64bit 重新安装Android SDK r13无法查看可用的API - Re-installation of Android SDK r13 cannot see available APIs HTC OpenSense SDK repository.xml URL链接 - HTC OpenSense SDK repository.xml url link 使用scale(Win7 x64)时Android模拟器无法启动 - Android emulator fails to start when using scale (Win7 x64) Android SDK 未在 win 7 64 位上安装 - Android SDK not installing on win 7 64-bit 如何停止模拟应用程序的运行? (Android Studio,64位Win7 SP1) - How to stop emulated app from running? (Android Studio, 64-bit Win7 SP1) 适用于Github Java SDK的Android.mk(win7 32位) - Android.mk for Github Java SDK (win7 32-bit) 无法获取https://dl-ssl.google.com/android/repository/repository.xml - Mac OSX - Failed to fetch https://dl-ssl.google.com/android/repository/repository.xml - Mac OSX
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM