Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

26257 views
Skip to first unread message

garycode

unread,
Oct 27, 2009, 6:58:21 PM10/27/09
to Android Developers
Hi,
I'm trying to install a platform but when I type android the manager
loads then I click Available Software then select the
https://dl-ssl.google.com/android/repository/repository.xml repository
I get this error.,

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml,
reason: HTTPS SSL error. You might want to force download through HTTP
in the settings.

So I click the settings tab and select the force through http then
click apply and save then nothing happens it doesn't save it because
if i then close it and reload it the checkbox is unticked so it's not
even using the force through http method. I get the same error if i go
straight back to available software.

I'm using Fedora and wget can download the xml file using ssl so I
don't know why it's getting this https ssl error.

Any ideas anyone?
Thank you

Xavier Ducrohet

unread,
Oct 27, 2009, 7:31:40 PM10/27/09
to android-d...@googlegroups.com
ok this is weird. Someone else (running ubuntu) had the same problem on IRC.

It looks like it fails somehow to create the file containing the
settings, but I don't know why (it works fine here).

The file is ~/.android/androidtool.cfg

try to create it manually and add one line to it:
sdkman.force.http=true

we'll try to figure out why it fails.

Xav
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

garycode

unread,
Oct 27, 2009, 8:12:49 PM10/27/09
to Android Developers
That worked great stuff thanks.............

On Oct 27, 11:31 pm, Xavier Ducrohet <x...@android.com> wrote:
> ok this is weird. Someone else (running ubuntu) had the same problem on IRC.
>
> It looks like it fails somehow to create the file containing the
> settings, but I don't know why (it works fine here).
>
> The file is ~/.android/androidtool.cfg
>
> try to create it manually and add one line to it:
> sdkman.force.http=true
>
> we'll try to figure out why it fails.
>
> Xav
>
>
>
> On Tue, Oct 27, 2009 at 3:58 PM, garycode <garyma...@hotmail.com> wrote:
>
> > Hi,
> > I'm trying to install a platform but when I type android the manager
> > loads then I click Available Software then select the
> >https://dl-ssl.google.com/android/repository/repository.xmlrepository
> > I get this error.,
>
> > Failed to fetch URLhttps://dl-ssl.google.com/android/repository/repository.xml,

Dan Raaka

unread,
Oct 27, 2009, 9:52:31 PM10/27/09
to Android Developers
That did the trick for me on windoze as well.

-Dan

Philip

unread,
Oct 27, 2009, 11:08:11 PM10/27/09
to Android Developers
I have the same problem on ubuntu. I create the file ~/.android/
androidtool.cfg but it fails.

On 10月28日, 上午7时31分, Xavier Ducrohet <x...@android.com> wrote:
> ok this is weird. Someone else (running ubuntu) had the same problem on IRC.
>
> It looks like it fails somehow to create the file containing the
> settings, but I don't know why (it works fine here).
>
> The file is ~/.android/androidtool.cfg
>
> try to create it manually and add one line to it:
> sdkman.force.http=true
>
> we'll try to figure out why it fails.
>
> Xav
>
>
>
> On Tue, Oct 27, 2009 at 3:58 PM, garycode <garyma...@hotmail.com> wrote:
>
> > Hi,
> > I'm trying to install a platform but when I type android the manager
> > loads then I click Available Software then select the
> >https://dl-ssl.google.com/android/repository/repository.xmlrepository
> > I get this error.,
>
> > Failed to fetch URLhttps://dl-ssl.google.com/android/repository/repository.xml,

Philip

unread,
Oct 28, 2009, 2:59:43 AM10/28/09
to Android Developers
Okay, setting -> select "force https:// to http://".

chandu

unread,
Oct 28, 2009, 3:14:31 AM10/28/09
to android-d...@googlegroups.com, phwa...@gmail.com
This error can be resolve by setting proper proxy.
check the proxy settings.


With Regards,
Chandrakant H

2009/10/28 Philip <phwa...@gmail.com>



--
with regards.
chandu

orange80

unread,
Oct 27, 2009, 11:59:03 PM10/27/09
to Android Developers
I'm still jammed on this. I'm having the same problem as Philip but
on Mac OS X. I have ~/.andriod/androidtool.cfg showing what you put
sdkman.force.http=true
Not sure what to do!!!
Can't wait to get my hands on 2.0 :)

Babak

unread,
Oct 28, 2009, 2:01:25 PM10/28/09
to Android Developers
I also experience this issue, Im on a clean install of Ubuntu 9.04,
have tried
to make the file androidtool.cfg and chmod 777 the directory ./
android.

Nothing so far, would it be possible to provide a link to a download
of
each platform as a zip etc, for the mean while?

Thanks,
Bob

Jeff Campbell

unread,
Oct 28, 2009, 10:06:41 AM10/28/09
to Android Developers
This is happening also on Ubuntu 9.10. The work-around fixes the
issue for me too.

GSmurf

unread,
Oct 28, 2009, 2:57:33 PM10/28/09
to Android Developers
If you are on windows you could go in settings options and checked in
misc section "force https:// ... sources to be fetched using http://..."
restart application and that's works !!

lazy1

unread,
Oct 28, 2009, 6:49:02 PM10/28/09
to Android Developers
> The file is ~/.android/androidtool.cfg
>
> try to create it manually and add one line to it:
> sdkman.force.http=true
Same problem on Ubuntu 9.10, the above solution does not work.

orange80

unread,
Oct 29, 2009, 12:23:53 AM10/29/09
to Android Developers
We already know about that... our problem is that the "force http"
workaround DOES NOT work for us either.

orange80

unread,
Oct 29, 2009, 1:31:41 AM10/29/09
to Android Developers
Ok, I got it working on my machine, this may apply to you guys too...
To run the android SDK manager in the first place, I exported the x86
lib directory inside of /android-sdk-mac/tools/, then I pointed the
JDK home in the android file to another place other than i's default.
That caused it to get the null error message when it tried to download
the packages. Once I set up my Java config to accommodate android's
desired location for JDK 1.5 (32-bit) it worked fine. This seems like
a strange glitch... they must be hard-coding the Java location
somewhere in the app aside from the java_cmd variable inside the
android sdk launcher.

Maybe this will point you in the right direction for getting Linux
android sdk working, I hope...
Also I will say that I _DID_ have to use the "force http" setting,
even with all that I did above.

Good luck!

skink

unread,
Oct 29, 2009, 4:15:40 AM10/29/09
to Android Developers


On Oct 28, 7:01 pm, Babak <babakre...@gmail.com> wrote:
> I also experience this issue, Im on a clean install of Ubuntu 9.04,
> have tried
> to make the file androidtool.cfg and chmod 777  the directory ./
> android.
>
> Nothing so far, would it be possible to provide a link to a download
> of
> each platform as a zip etc, for the mean while?
>
> Thanks,
> Bob
>

Bob,

try this one:

http://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip

or:

http://dl-ssl.google.com/android/repository/android-2.0_r01-linux.zip

when you are penguin fan :)

and the unzip it to platforms folder

pskink

Cédric Berger

unread,
Oct 29, 2009, 4:41:24 AM10/29/09
to android-d...@googlegroups.com
I can't download through a proxy requiring authentication.

I had to select force http, and put user/password for proxy in JVM
command line. This way I can get the list of available updates.
But when trying to download, it stays stuck (looks like it waits for
user/password, but no prompt).

Cédric Berger

unread,
Oct 29, 2009, 4:46:21 AM10/29/09
to android-d...@googlegroups.com
2009/10/29 Cédric Berger <cedric....@gmail.com>:

Oh in fact it is ok. Through a second proxy (with authentication too)
it worked. Looks like the first proxy (a bit more restrictive) blocked
the downloading url. (I could not check why since the URL is not
shown)

Xavier Ducrohet

unread,
Oct 29, 2009, 2:24:42 PM10/29/09
to android-d...@googlegroups.com
On Wed, Oct 28, 2009 at 9:23 PM, orange80 <jps...@gmail.com> wrote:
>
> We already know about that... our problem is that the "force http"
> workaround DOES NOT work for us either.

which, frankly, is mind boggling.
Can you give me the exact output of the status window in the SDK
Manager when you try to update from the repository?

Also, can you tell me which JDK you are using, OS config, etc..

thanks!
Xav

--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

Hans

unread,
Oct 30, 2009, 1:13:16 PM10/30/09
to Android Developers
Adding sdkman.force.http=true to ~/.android/androidtool.cfg allowed me
to retrieve the Sites, Packages, and Archives via the Android SDK and
AVD Manager.

However, when I select, for example, "SDK Platform Android 2.0, API 5,
revision 1", and click "Install Selected" (button), nothing happens.

I am running on Ubuntu version 9.10 x64 (released version). The
machine has 4GB RAM. JDK 6-15-1, via the Synaptic Package Manager, is
installed (along with the dependencies).

On Oct 29, 1:24 pm, Xavier Ducrohet <x...@android.com> wrote:

Jay

unread,
Nov 1, 2009, 8:46:23 AM11/1/09
to Android Developers
Try export GDK_NATIVE_WINDOWS=true before running android sdk manager.
It fixes both the save button and the install button for me.

For more details please see https://bugzilla.gnome.org/show_bug.cgi?id=598734
and https://bugs.eclipse.org/bugs/show_bug.cgi?id=290395

Jay

john...@gmail.com

unread,
Nov 2, 2009, 7:41:41 AM11/2/09
to Android Developers
The key for me was the post that stated "...and restart the
application" after forcing https in settings... was stuck until I
finally actually restarted. Worked fine after.
-John

On Oct 27, 4:58 pm, garycode <garyma...@hotmail.com> wrote:
> Hi,
> I'm trying to install a platform but when I type android the manager
> loads then I click Available Software then select thehttps://dl-ssl.google.com/android/repository/repository.xmlrepository
> I get this error.,
>
> Failed to fetch URLhttps://dl-ssl.google.com/android/repository/repository.xml,

Zod

unread,
Nov 2, 2009, 7:52:54 AM11/2/09
to Android Developers
Hi!

I've come to the same solution as Jay on a fresh install of Ubuntu
9.10 (32bit) (with the official JDK from SUN [not from ubuntu
package]).

"export GDK_NATIVE_WINDOWS=true" solves the settings saving problem in
the Android SDK and I can install the ADT plugin through eclipse with
the same env variable set.

Let's hope it get resolved soon.

Zod


On Nov 1, 2:46 pm, Jay <pathomp...@gmail.com> wrote:
> Try export GDK_NATIVE_WINDOWS=true before running android sdk manager.
> It fixes both the save button and the install button for me.
>
> For more details please seehttps://bugzilla.gnome.org/show_bug.cgi?id=598734
> andhttps://bugs.eclipse.org/bugs/show_bug.cgi?id=290395

Xavier Ducrohet

unread,
Nov 2, 2009, 2:12:56 PM11/2/09
to android-d...@googlegroups.com
Hello everyone, I just wanted to thank people who figured out the GTK issue.

We're looking into what we can do, but unfortunately it seems to be an
issue between GTK and SWT.

thanks
Xav
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-d...@googlegroups.com
> To unsubscribe from this group, send email to
> android-develop...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

cj

unread,
Oct 31, 2009, 1:32:57 AM10/31/09
to Android Developers
Ran into the same exact problem w/Ubuntu 9.10 on x86_64. Here's what
I did to
fix/work-around it.

I changed the *cfg file as you had done, downloaded the android-sdk-
rev3_linux.tgz,
extracted it, changed the path in my .bashrc, went into it's tools
directory and ran
'android update sdk' instead of just 'android'. It launched the GUI &
asked for
acceptance of the license & after accepting, it installed without a
problem.
Hope that helps.


//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
On Oct 30, 1:13 pm, Hans <hdic...@gmail.com> wrote:
> Adding sdkman.force.http=true to ~/.android/androidtool.cfg allowed me
> to retrieve the Sites, Packages, and Archives via the Android SDK and
> AVD Manager.
>
> However, when I select, for example, "SDK Platform Android 2.0, API 5,
> revision 1", and click "Install Selected" (button), nothing happens.
>
> I am running onUbuntuversion9.10x64 (released version).  The

eris23

unread,
Oct 30, 2009, 8:16:05 PM10/30/09
to Android Developers
Adding "sdkman.force.http=true to ~/.android/androidtool.cfg" didn't
change anything.
Checkboxing "Force https://... sources to be fetched using http://"
didn't change anything, and wasn't saved.
Adding site "http://dl-ssl.google.com/android/repository/
repository.xml" allowed updates to be seen, but install selected did
nothing, and site wasn't saved.

I'm running Ubuntu 9.10 x64 (released). Machine has 8GB RAM.
openjdk-6-jdk 6b16-1.6.1-1ubuntu3

MobileDev

unread,
Oct 31, 2009, 10:48:22 PM10/31/09
to Android Developers
I too am running running on Ubuntu version 9.10 as well.

Adding sdkman.force.http=true to ~/.android/androidtool.cfg allowed me
to retrieve the Sites, Packages, and Archives via the Android SDK and
AVD Manager.

However, nothing happens when I select one of the and click "Install
Selected" (button), nothing happens, when I select one of the items
from the list to install by clicking on "install selected".

Any help will be greatly appreciated.

StLin

unread,
Oct 31, 2009, 3:53:52 PM10/31/09
to Android Developers
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
I had almost all the problems above using Ubuntu 9.10 on amd x64, but
I solved them and here is how:

First, I had to force http: echo "sdkman.force.http=true" > ~/.android/
androidtool.cfg
Then, create a tmp directory on the same level as the
android_sdk_linux/ directory: mkdir tmp && chmod a+rwx tmp
Lastly, change the ownership of the android_sdk_linux/ directory, to
me: chown -R me:users android_sdk_linux/

Sometimes nothing happens when I click on a button, except that it
gets marked and then if I hit enter, that will do it.

Hopes this helps anyone,
/Stefan

amram99

unread,
Nov 1, 2009, 4:20:11 PM11/1/09
to Android Developers
Jay,

I had the same problem as Hans, and that export statement worked like
a charm. Thanks!

On Nov 1, 8:46 am, Jay <pathomp...@gmail.com> wrote:
> Try export GDK_NATIVE_WINDOWS=true before running android sdk manager.
> It fixes both the save button and the install button for me.
>
> For more details please seehttps://bugzilla.gnome.org/show_bug.cgi?id=598734
> andhttps://bugs.eclipse.org/bugs/show_bug.cgi?id=290395

erisa

unread,
Nov 1, 2009, 8:21:09 AM11/1/09
to Android Developers
I have the exact same setup as Hans (Ubuntu 9.10 x64 (released)) and
the exact same problem. The components are listed in the SDK manager,
but when the "Install Selected" button is clicked, nothing happens.

KP

unread,
Nov 2, 2009, 2:05:31 PM11/2/09
to Android Developers
Hi there,

I had the same problem.

I accidently found out that if you select "force download through
HTTP" by using the keyboard it will work! (by using TAB and the
spacebar)

At least it worked for me, I'm running Ubuntu 9.10

elsamuko

unread,
Nov 2, 2009, 6:21:01 PM11/2/09
to Android Developers
Ubuntu Karmic 9.10 32 bit here:
It works now via http for me.
But I had to delete the old ~/.android folder before.
Maybe this works for you.

Andrew Pollock

unread,
Nov 5, 2009, 1:27:55 AM11/5/09
to Android Developers
On Oct 27, 2:58 pm, garycode <garyma...@hotmail.com> wrote:
> Hi,
> I'm trying to install a platform but when I type android the manager
> loads then I click Available Software then select thehttps://dl-ssl.google.com/android/repository/repository.xmlrepository
> I get this error.,
>
> Failed to fetch URLhttps://dl-ssl.google.com/android/repository/repository.xml,
> reason: HTTPS SSL error. You might want to force download through HTTP
> in the settings.
>
> So I click the settings tab and select the force through http then
> click apply and save then nothing happens it doesn't save it because
> if i then close it and reload it the checkbox is unticked so it's not
> even using the force through http method. I get the same error if i go
> straight back to available software.
>
> I'm using Fedora and wget can download the xml file using ssl so I
> don't know why it's getting this https ssl error.

So I've just managed to solve this problem on my Debian Lenny (5.0)
system.

Aside from needing to force HTTP instead of HTTPS, it turned out that
while I had the sun-java6-bin package installed, the alternatives
system was making /usr/bin/java point to the GNU Java bytecode
interpreter. Once I did a "sudo update-alternatives --config java" and
selected the Sun Java instead, everything started to work properly.

nikhil

unread,
Nov 3, 2009, 3:16:11 PM11/3/09
to Android Developers
Doesnt work for me

rcasha

unread,
Nov 3, 2009, 6:19:22 AM11/3/09
to Android Developers
Ok this is weird... it seems that the "Android SDK and AVD Manager"
application recognises the Space bar, BUT NOT THE MOUSE, for certain
checkboxes, buttons etc.

So... you can enable the http option, and so on, by tabbing to the
control and pressing space.


On Oct 27, 11:58 pm, garycode <garyma...@hotmail.com> wrote:
> Hi,
> I'm trying to install a platform but when I type android the manager
> loads then I click Available Software then select thehttps://dl-ssl.google.com/android/repository/repository.xmlrepository

Romain Guy

unread,
Nov 6, 2009, 1:37:57 PM11/6/09
to android-d...@googlegroups.com
It's a known issue with SWT and GTK.
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-d...@googlegroups.com
> To unsubscribe from this group, send email to
> android-develop...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



--
Romain Guy
Android framework engineer
roma...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support. All such questions should be posted on
public forums, where I and others can see and answer them

albreche

unread,
Nov 6, 2009, 9:41:10 AM11/6/09
to Android Developers
hi,

i've tried to add "-Dhttp.proxyUser=login -Dhttp.proxyPassword=pass"
in the java call in android.bat, without anysuccess . Is this what
you've done ? if not , could you show what you've done ?

tnx

On 29 oct, 09:41, Cédric Berger <cedric.berge...@gmail.com> wrote:
> I can't download through aproxyrequiring authentication.
>
> I had to select force http, and put user/password forproxyin JVM

Peter Ersts

unread,
Nov 7, 2009, 3:14:21 PM11/7/09
to Android Developers
Try:
export GDK_NATIVE_WINDOWS=true

before you launching the manager. I came across a similar problems
with Eclipse since upgrading to Ubuntu 9.10 on my 64-bit machine, this
seems to fix most of the problems.
> romain...@android.com

mccoy

unread,
Nov 14, 2009, 9:58:58 AM11/14/09
to Android Developers
Thanks Peter!

this "GDK_NATIVE_WINDOWS=true" solved the issue for me (Ubuntu 9.10 32
bits)

Yann

unread,
Nov 15, 2009, 10:08:30 AM11/15/09
to Android Developers
All work fine for me, the solution is to press the space keyboard,
the mouse didn't work correctly.
1) select by the mouse the action desired, but nothing do
2) press space with your keyboard
3) enjoy ;)

Bhavani Prasad

unread,
Nov 16, 2009, 1:57:24 AM11/16/09
to Android Developers
Hi,
I have set the proxy settings it worked for me.

Regards,
Bhavani Prasad

On Oct 28, 3:58 am, garycode <garyma...@hotmail.com> wrote:
> Hi,
> I'm trying to install a platform but when I type android the manager
> loads then I click Available Software then select thehttps://dl-ssl.google.com/android/repository/repository.xmlrepository
> I get this error.,
>
> FailedtofetchURLhttps://dl-ssl.google.com/android/repository/repository.xml,

JuanEG

unread,
Nov 16, 2009, 6:24:58 AM11/16/09
to Android Developers
Hi, I had the same problem in Ubuntu 9.10 and solved it thanks to
StLin comment.
Cheers.
Juan

Satya Komatineni

unread,
Nov 16, 2009, 6:19:30 PM11/16/09
to android-d...@googlegroups.com
On windows/XP I couldn't make this work directly from the AVD manager by itself.

I had to do it through the Eclipse plugin for ADT (which in turn can
invoke the AVD manager internally in eclipse)

Must be something to do with jdk version or the java version when run
outside....(I am thinking)

Here are few more notes if you are trying this on windows:

http://www.satyakomatineni.com/akc/display?url=DisplayNoteIMPURL&reportId=3001&ownerUserId=satya

Satya

MYNAMESALEX

unread,
Nov 17, 2009, 1:39:03 PM11/17/09
to Android Developers
$ export GDK_NATIVE_WINDOWS=true
running that before opening the sdk worked perfect for me. I am on
ubuntu 9.10 and I was noticing the buttons in the sdk acted as if they
didnt respond to anything. I could then enable the force https http
thing, and updating works fine.

On Nov 1, 5:46 am, Jay <pathomp...@gmail.com> wrote:
> Try export GDK_NATIVE_WINDOWS=true before running android sdk manager.
> It fixes both the save button and the install button for me.
>

WilliamEnjoy

unread,
Nov 21, 2009, 10:17:44 AM11/21/09
to Android Developers
Maybe it has nothing to do with java,jdk
it's a program written in python

WilliamEnjoy

unread,
Nov 21, 2009, 10:01:50 AM11/21/09
to Android Developers
I am using Ubuntu Karmic Koala.
I created file ~/.android/androidtool.cfg and and
"sdkman.force.http=true "
Now I can download the Repository,But I still cannot download any
platform file or doc

CAN I DOWNLOAD THE PLATFORM ZIP FILE FROM A DIRECT LINK?

On 10月28日, 上午7時31分, Xavier Ducrohet <x...@android.com> wrote:
> ok this is weird. Someone else (running ubuntu) had the same problem on IRC.
>
> It looks like it fails somehow to create the file containing the
> settings, but I don't know why (it works fine here).
>
> The file is ~/.android/androidtool.cfg
>
> try to create it manually and add one line to it:
> sdkman.force.http=true
>
> we'll try to figure out why it fails.
>
> Xav
>
> On Tue, Oct 27, 2009 at 3:58 PM, garycode <garyma...@hotmail.com> wrote:
>
> > Hi,
> > I'm trying to install a platform but when I type android the manager
> > loads then I click Available Software then select the
> >https://dl-ssl.google.com/android/repository/repository.xmlrepository
> > I get this error.,
>
> > Failed to fetch URLhttps://dl-ssl.google.com/android/repository/repository.xml,
> > reason: HTTPS SSL error. You might want to force download through HTTP
> > in the settings.
>
> > So I click the settings tab and select the force through http then
> > click apply and save then nothing happens it doesn't save it because
> > if i then close it and reload it the checkbox is unticked so it's not
> > even using the force through http method. I get the same error if i go
> > straight back to available software.
>
> > I'm using Fedora and wget can download the xml file using ssl so I
> > don't know why it's getting this https ssl error.
>
> > Any ideas anyone?
> > Thank you
>

Dan Syrstad

unread,
Nov 24, 2009, 9:02:10 PM11/24/09
to Android Developers
I'm running Ubuntu 9.04 64-bit and ran into the same problem. I fixed
it by running the "android" tool with 64-bit java (sun jdk1.6.0_16) in
my path. I had 32-bit java prior to that.

Danno

unread,
Nov 26, 2009, 2:07:19 PM11/26/09
to Android Developers
This worked for me, thanks Jay

On Nov 1, 6:46 am, Jay <pathomp...@gmail.com> wrote:
> Try export GDK_NATIVE_WINDOWS=true before running android sdk manager.
> It fixes both the save button and the install button for me.
>
> For more details please seehttps://bugzilla.gnome.org/show_bug.cgi?id=598734
> andhttps://bugs.eclipse.org/bugs/show_bug.cgi?id=290395
>
> Jay
>
> On Oct 31, 12:13 am, Hans <hdic...@gmail.com> wrote:
>
> > Adding sdkman.force.http=true to ~/.android/androidtool.cfg allowed me
> > to retrieve the Sites, Packages, and Archives via the Android SDK and
> > AVD Manager.
>
> > However, when I select, for example, "SDK Platform Android 2.0, API 5,
> > revision 1", and click "Install Selected" (button), nothing happens.
>
> > I am running on Ubuntu version 9.10 x64 (released version).  The
> > machine has 4GB RAM.  JDK 6-15-1, via the Synaptic Package Manager, is
> > installed (along with the dependencies).
>
> > On Oct 29, 1:24 pm, Xavier Ducrohet <x...@android.com> wrote:
>
> > > On Wed, Oct 28, 2009 at 9:23 PM, orange80 <jpsw...@gmail.com> wrote:
>
> > > > We already know about that... our problem is that the "force http"
> > > > workaround DOES NOT work for us either.
>
> > > which, frankly, is mind boggling.
> > > Can you give me the exact output of the status window in the SDK
> > > Manager when you try to update from the repository?
>
> > > Also, can you tell me which JDK you are using, OS config, etc..
>
> > > thanks!
> > > Xav
>
> > > --
> > > Xavier Ducrohet
> > > Android SDK Tech Lead
> > > Google Inc.
>

stunnahonsa

unread,
Dec 2, 2009, 9:02:32 AM12/2/09
to Android Developers
Have this problem. SDK under Win Vista tried to switch to http instead
of https, dont work. also if i try get the xml manually (like in this
forum described: http://www.anddev.org/problem_while_installing_android_sdk_20-t8681.html)
from https://dl-ssl.google.com/android/repository/repository.xml there
is only:

Server Error
The server encountered a temporary error and could not complete
your request.

Please try again in 30 seconds.


no matter if i use http or https and i tried it 30 minutes ago

Jarrod Overson

unread,
Dec 2, 2009, 12:36:50 PM12/2/09
to android-d...@googlegroups.com

I had this problem too, but changing to HTTP and using dl.google.com worked.

-- You received this message because you are subscribed to the Google Groups "Android Developers" ...

rus

unread,
Dec 3, 2009, 5:00:50 AM12/3/09
to Android Developers
Hi,
Had this kind of a problem installing ADT on Ubuntu. This may be
caused due to a firewall. I solved it by installing ADT manually. Hope
this helps

itnet7

unread,
Dec 3, 2009, 2:12:09 AM12/3/09
to Android Developers


On Dec 2, 12:36 pm, Jarrod Overson <jsover...@gmail.com> wrote:
> I had this problem too, but changing to HTTP and using dl.google.com worked.
>

I am running Ubuntu Karmic 9.10 32-bit. I was having the same issues,
and had added the ./android/androidtool.cfg line and tried a couple of
other things here.
Here is what I did verbatim.

mv ~/.android ~/.android_BACKUP

Then opened the Android SDK and AVD Manager by running: android
(inside the tools directory without anything else).

I then clicked on the Settings, and tabbed to get to the Force
Https:... and hit the spacebar as recommended to check the Foce box.
Next I went to Available packages, Tabbed then spacebar to check the
repository.xml link, then tabbed to the Refresh button. and used the
enter key. The earlier poster was right for some reason it seems to
not register the left click in the application although when you click
it the buttons, etc. do go through the motions.

Thanks for the advice on the tab/spacebar/enterkey instead of the
mouse input!

itnet7

Cédric Berger

unread,
Dec 4, 2009, 3:30:17 AM12/4/09
to android-d...@googlegroups.com
2009/10/29 Cédric Berger <cedric....@gmail.com>:
> 2009/10/29 Cédric Berger <cedric....@gmail.com>:
>> I can't download through a proxy requiring authentication.
>>
>> I had to select force http, and put user/password for proxy in JVM
>> command line. This way I can get the list of available updates.
>> But when trying to download, it stays stuck (looks like it waits for
>> user/password, but no prompt).
>>
>
> Oh in fact it is ok. Through a second proxy (with authentication too)
> it worked. Looks like the first proxy (a bit more restrictive) blocked
> the downloading url. (I could not check why since the URL is not
> shown)
>

What is the download URL ?
Because I still have problems with the proxy I use. I can download
updates metadata, but when trying to install, it hangs.
I suspect the proxy blocks the download URL (but not
http://dl-ssl.google.com/android/repository/repository.xml )... how
can I check what this download url is (so I could ask for correction
in the proxy rules) ?

David Zhang

unread,
Dec 6, 2009, 6:35:09 AM12/6/09
to Android Developers
Settings -> 1. choose Force 2. Save&Apply
Installed Packages -> Update All

On 10月28日, 上午8时12分, garycode <garyma...@hotmail.com> wrote:
> That worked great stuff thanks.............
>
> On Oct 27, 11:31 pm, Xavier Ducrohet <x...@android.com> wrote:> ok this is weird. Someone else (running ubuntu) had the same problem on IRC.

spier

unread,
Dec 27, 2009, 12:22:07 PM12/27/09
to Android Developers
This did the trick for me on Windows 7 64: settings options and
checked in misc section "force https:// ... sources to be fetched
using http://..." restart application

Thanks


On Oct 28, 10:57 am, GSmurf <gsmu...@gmail.com> wrote:
> If you are on windows you could go in settings options and checked in
> misc section "force https:// ... sources to be fetched using http://..."
> restart application and that's works !!
>
> On 28 oct, 02:52, Dan Raaka <danra...@gmail.com> wrote:
>
> > That did the trick for me on windoze as well.
>
> > -Dan
>

teryz

unread,
Jan 4, 2010, 10:31:25 AM1/4/10
to Android Developers
I have a problem using Android SDK Updater (revision 4). For the
record I'm under win xp 32-bits, jdk 1.6.
I set up the "Force https://... sources to be fetched using http://....
This seemed to work fine but as I am behing a (corporate) proxy I also
filled the proxy server and port settings, however this proxy requires
a user/password and I can't find a way to give Android Updater a proxy
authentication as no authentication box pops up when I try downloading
updates and I have a
" response code: 407 for URL: http://dl-ssl.google.com/android/repository/repository.xml"
when refreshing sources.

If someone can help...

Teryz.

On 4 déc 2009, 09:30, Cédric Berger <cedric.berge...@gmail.com> wrote:
> 2009/10/29 Cédric Berger <cedric.berge...@gmail.com>:
>
> > 2009/10/29 Cédric Berger <cedric.berge...@gmail.com>:


> >> I can't download through a proxy requiring authentication.
>
> >> I had to select force http, and put user/password for proxy in JVM
> >> command line. This way I can get the list of available updates.
> >> But when trying to download, it stays stuck (looks like it waits for
> >> user/password, but no prompt).
>
> > Oh in fact it is ok. Through a second proxy (with authentication too)
> > it worked. Looks like the first proxy (a bit more restrictive) blocked
> > the downloading url. (I could not check why since the URL is not
> > shown)
>
> What is the download URL ?
> Because I still have problems with the proxy I use. I can download
> updates metadata, but when trying to install, it hangs.

> I suspect the proxy blocks the download URL (but nothttp://dl-ssl.google.com/android/repository/repository.xml)... how

choffman

unread,
Jan 16, 2010, 9:30:36 PM1/16/10
to Android Developers
Hi, I had the same problem on Fedora 12.
I added a new site- http://dl.google.com/android/repository/repository.xml
, selected it and it worked.
"Force https" in the settings had no effect.

Strange thing though. When I reopen AVD, the new http site is checked,
but AVD is still trying to go to
the https site. So I have to deselect and reselect the site check
boxes. IDK, it works.

Gilles Duboscq

unread,
Jan 22, 2010, 6:17:07 PM1/22/10
to Android Developers
I had the problem on Win7x64 using http worked fine,
i made a tcpdump of what happens when AVD tries to use https location
and compared it to downloading the same file with chrome
AVD sends a SSLv2 Client Hello while chrome sends a TLSv1 Client Hello
then the Server Hello, Certificate, and Server Hello replies are the
same (all TLSv1)
After that chromes continues with the handshake while AVD sends an
Alert (type== Unexpected Message)
looks like it wants SSLv2 and wont accept the TLSv1 handshake

I'm using
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)


On Jan 17, 3:30 am, choffman <craig.r.hoff...@gmail.com> wrote:
> Hi, I had the same problem on Fedora 12.

> I added a new site-http://dl.google.com/android/repository/repository.xml

Ashish Srivastava

unread,
Feb 15, 2010, 7:47:16 AM2/15/10
to Android Developers
This is really bad behavior. None of you are trying to solve the
problem for people with Proxy + Authentication enabled. It's really
that people are being truly selfish. Shame on the community.

> > On Jan 4, 9:31 am, teryz <teryzpl...@gmail.com> wrote:
>

> > > I have a problem using AndroidSDKUpdater (revision 4). For the


> > > record I'm under win xp 32-bits, jdk 1.6.
> > > I set up the "Force https://... sources to be fetched using http://....
> > > This seemed to work fine but as I am behing a (corporate)proxyI also
> > > filled theproxyserver and port settings, however thisproxyrequires

> > > a user/passwordand I can't find a way to give Android Updater aproxy


> > > authentication as no authentication box pops up when I try downloading
> > > updates and I have a
> > > " response code: 407 for URL:http://dl-ssl.google.com/android/repository/repository.xml"
> > > when refreshing sources.
>
> > > If someone can help...
>
> > > Teryz.
>
> > > On 4 déc 2009, 09:30, Cédric Berger <cedric.berge...@gmail.com> wrote:
>
> > > > 2009/10/29 Cédric Berger <cedric.berge...@gmail.com>:
>
> > > > > 2009/10/29 Cédric Berger <cedric.berge...@gmail.com>:

> > > > >> I can't download through aproxyrequiring authentication.
>
> > > > >> I had to select force http, and put user/passwordforproxyin JVM


> > > > >> command line. This way I can get the list of available updates.
> > > > >> But when trying to download, it stays stuck (looks like it waits for
> > > > >> user/password, but no prompt).
>

> > > > > Oh in fact it is ok. Through a secondproxy(with authentication too)
> > > > > it worked. Looks like the firstproxy(a bit more restrictive) blocked


> > > > > the downloading url. (I could not check why since the URL is not
> > > > > shown)
>
> > > > What is the download URL ?

> > > > Because I still have problems with theproxyI use. I can download


> > > > updates metadata, but when trying to install, it hangs.

> > > > I suspect theproxyblocks the download URL (but nothttp://dl-ssl.google.com/android/repository/repository.xml)... how

Sean Hodges

unread,
Feb 15, 2010, 9:53:48 AM2/15/10
to android-d...@googlegroups.com
On Mon, Feb 15, 2010 at 12:47 PM, Ashish Srivastava
<ashish0sr...@gmail.com> wrote:
> This is really bad behavior. None of you are trying to solve the
> problem for people with Proxy + Authentication enabled. It's really
> that people are being truly selfish. Shame on the community.

Did it occur to you that nobody has an answer for this question, and
those that might haven't seen it?

Where is your answer / suggestion?

> --
> You received this message because you are subscribed to the Google

Bob Kerns

unread,
Feb 15, 2010, 4:00:42 PM2/15/10
to Android Developers
It seems you have quite unrealistic expectations of the community, and
aren't even willing to help yourself.

Let's see here:

1) Your sysadmins block direct web access to the Internet

2) You route your web requests through some unknown piece of software
using one of several protocols to forward your requests,

and

3) You expect the community to fix it all up for you? Who's being
selfish?

I have a solution for you: stop blaming the community. We can't help
you with any of that. Talk to your sysadmins. They CAN help you.

They may not be willing to. That doesn't make them the bad guys,
either; I don't know their situation.

But at least the have all the facts available to them, and access to
investigate and fix.

Finally: it would take you all of 2 minutes to look at repository.xml,
and choose the download URL you want from that file. Just replace
'repository.xml' with the appropriate <sdk:url>...</sdk:url> value.

If you want to help yourself -- go home, or to a public library or a
coffee shop or something, and download it onto a USB key.

I think I can safely speak for the community, when I say the community
doesn't like being flamed for things that are not the community's
fault.

On the other hand -- if, in the course of your investigations, you
have SPECIFIC questions, with sufficient context, we're still glad to
answer. The community doesn't hold grudges, much.

Message has been deleted

Bharath M R

unread,
Feb 27, 2010, 3:05:34 AM2/27/10