Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect
I've encountered above error when I install SDK revision10 and ADT10 on eclipse galileo.
I used older version lately and it worked well.
But now I can't even install SDK.
What do I do?
Please reply me ASAP.
Best Regards,
Try using http rather than https
Related
Recently I started learning the libgdx library and wanted to give it a try on Android Studio.
I followed up some tutorials found on different websites. The problem is when gradle sync starts, it gives an error:
Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
I m not behind any proxy. I tried to disable firewall, enable offline / online gradle sync with the offline folder, forced the sdk to download with http instead of https, changed the distributionUrl into http and changed the distribution url aswell.
Nothing worked.
I don't really know if it is a coincidence or not but when I try to launch the standalone SDK, it gives this error when trying to fetch url saved in the SDK update sites:
Failed to fetch URL https://dl.google.com/android/repository/repository-11.xml, reason: HttpHostConnect Connection to https://dl.google.com refused
Thank you.
Try to do that:
Android SDK Manager > Tools > Options
Check "Force https://...
sources to be fetched using http://..."
I am currently running a 32bit vista and installed the latest version of the sdk from developer.android.com.
The problem is that when I try to install the plugin it gives me this error message:
Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml.
Unable to read repository at https://dl-ssl.google.com/android/eclipse/content.xml.
Permission denied: connect
This happens for every link, even if you type in something like google.com. I tried doing http instead of https but to no avail.
If you need more information just say so below in the comments. Thanks for your time
I got it. I just needed to disable the firewall. That's it.
Friends,
I am trying to install Android plugin with Eclipse(Version: Indigo Service Release 1) in my machine(Linux Ubuntu 64 bit). My network uses proxy authentication so I went to Eclipse->windows->preferences->General->Network connection->Entered my credentials(for http & https).
And to install android -- Eclipse->Help->Install new software->Added the URL(Andriod - http://dl-ssl.google.com/android/eclipse/) and then clicked next.But it said some more plugins are missing.So I tried to update the eclipse.But when I tried to update the eclipse through the following URL(Helios - http://download.eclipse.org/releases/helios) it gives the following exception :
HTTP Proxy Authentication Required: http://download.eclipse.org/releases/helios/content.xml
HTTP Proxy Authentication Required: http://download.eclipse.org/releases/helios/content.xml
Proxy auth required
Please help me with this..
FYI: I am entering the valid credentials,I can visit sites through that same credentials with my browser.
hmm
Eclipse->Help->Install new software->drop down to all available sites and select sdk install it and then move on to android http://dl-ssl.google.com/android/eclipse/
I have downloaded eclipse, the android SDK starter package, and installed the "Developer Tools." Following the guide on developer.android.com exactly. After the developer tools have installed, and eclipse restarts I get two error messages:
1: "SDK Platform Tools component is missing!
Please use the SDK Manager to install it."
So, I go in eclipse under Windows > Android SDK Manager and while trying to fetch the files it brings up the sdk manager log with the following:
Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Invalid argument: connect
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: Invalid argument: connect
Done loading packages.
Because of this error I cannot use the SDK Manager to install it. Any ideas on how to fix this?
2: "Failed to initialize Monitor Thread: Unable to establish loopback connection."
No idea what this one means.
Any help would be greatly appreciated. I have spent a few hours googling trying to find fixes but nothing seems to work, or the fixes refer to a non-existent "settings" window.
You might have to set the SDK installation path yourself somewhere in eclipse. Look out for such problems!!
This could be a proxy which is not allowing SDK manager to fetch the add-on list. You could try to put in an exception for this url and try again.
Adding an exception had worked for me earlier.
Im new to android and am just trying to install the SDK. I have everything else done. When i run the SDK Setup.exe (ive added the ./tools to the path already.) It gives me the famous cannot fetch URL error.
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Permission denied: connect
I tried the force http option and also manually adding a http:// version of the above url. It does not work at all. I am working on a windows 7 64 bit pc. Any help would be appreciated.
Ramesh
Maybe your firewall is blocking tcp/udp connection from Java.exe process?
Try running from the command prompt.
tools\android.bat update sdk
it launches the sdk which works.
Thanks,
Ramesh