So I've got a brand new PC with win7 64 bit on it. I'm trying to get up and running with android SDK and eclipse. I've done this before on other win7 32 bit machines and never had issues. 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.
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. The error I get 4 times is:
Failed to fetch URL开发者_高级运维 http://dl-ssl.google.com/android/repository/repository.xml, reason: Invalid argument: connect
Note that I did shut off mcafee firewall so I don't think that's the issue. 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. And I've verified that URL can load the xml into 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. 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. (I copied the proxy info from 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.
精彩评论