Ubuntu and Android SDK November 21st, 2009

If you are trying to install the latest (revision 3 at the time of this writing) SDK for Android in Ubuntu you may run into issues where the mouse may not be working or you can't install any packages.

You will get errors like "FAILED to fetch url https//..." plus a suggestion to force "http" in the settings.

But you can't get the settings to be saved!

It seems this is a known problem with GTK, so this one liner in the command line solved the problems for me and allowed me to save options when running the SDK:

export GDK_NATIVE_WINDOWS=true

Run the SDK again and you should be good to download and install the packages you need.

I was using Ubuntu 9.10 64-bits, but you should encounter the same issue if you are running 32-bits or other older version of Ubuntu.

Posted in |

Leave a Reply

3+9


Living Ubuntu

I discovered Ubuntu in its second release thanks to a PC Magazine Ranking. Haven't stop using GNU/Linux since. This place is where I put all the stuff that I stumble upon and fix later. Hope you find it useful.

Links

Twitter

    Follow Me