I read all the recent messages regarding this issue, and it is still not fixed as of version r10-linux...
edit tools/android, go to the last line, add the following exact text : -Djava.net.preferIPv4Stack=true so that the line looks like : exec "$java_cmd" -Djava.net.preferIPv4Stack=true -Xmx256M $os_opts $java_debug -Dcom.android.sdkmanager.toolsdir="$progdir" -classpath "$jarpath:$swtpath/swt.jar" com.android.sdkmanager.Main "$@" (this is all on 1 line) #solved Why does it work : As of today, I don't know of any operating system not enabling IPv6 by default... and this does not mean you are actually able to _communicate_ with IPv6. It's the default policy to first try to use IPv6, but here the app fails (and most Java apps do fail with IPv6...) Running the script with strace showed the problem : $ strace -fF tools/android &>/tmp/log $ grep -i unreachable /tmp/log [pid 3264] connect(20, {sa_family=AF_INET6, [.........cut.........] inet_pton(AF_INET6, [.......cut........] = -1 ENETUNREACH (Network is unreachable) [.....cut....] => app is using Java and is trying to use IPv6, but is NOT IPv6-ready ... On 24 avr, 12:26, Saurav <to.saurav.mukher...@gmail.com> wrote: > Hi all, > > I am trying to install android sdk, but the for every try, the android sdk > manager gives this error message: > > "Failed to fetch > URLhttp://dl-ssl.google.com/android/repository/addons_list.xml, reason: > Connection timed out" > > It may look silly, but has anybody solved this? And I have tried with and > without https! > > Thanks in advance. > > Regards, > Saurav Mukherjee. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en