Installing Android 3.0 Honeycomb Preview SDK with SSL error work around

UPDATED 18 November 2011

It seems Google have changed a few things and as a result, you may find the below instructions no longer work. I’ve written a new article which will get Android working on your computer in no time. You can use this method to install any version of android you want.

Install Android 4.0 Ice Cream Sandwich manually to bypass Failed to fetch URL dl-ssl error

Google have just released a preview version of Android 3.0 Honeycomb. It’s good to finally see the rumoured OS finally up and running.
If you would like to have a play around with it, make sure you have installed the Android SDK. You can download that from the Android developer’s site here
The installation process is quite self explanatory, just follow the instructions and you’ll be fine.

I did however hit a bit of a problem when I tried to download Honeycomb itself. With the Android SDK running, updates to Android are usually found under “Available packages”. You can update this to see the latest versions available by hitting “refresh”. When I did this, I received an error “Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: dl-ssl.google.com” and the refresh process stalled. As a result, I was unable to see any updates to download Honeycomb.

To find a workaround, I did a bit of a search on the internet. Some people were resolving this issue by going to “Settings” and then under “Misc” checking the “Force https://…sources to be fetched using http://…” I tried this and it still didn’t work.

At this stage I should point out that this solution worked for me on Windows.

Locate the android-3.0_pre_r01-linux.zip file

The way I managed to finally get Honeycomb running was by looking at the file that the SDK was trying to download. I opened “http://dl-ssl.google.com/android/repository/repository.xml” in my browser window and read the contents of the xml file. Within this file and towards the bottom of the page I saw this “android-3.0_pre_r01-linux.zip”. This bit of code contains the actual file name of the Honeycomb updates.

Manually install Android 3.0 Honeycomb

So now that I knew the filename, I figured by using this link “http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip” I could download the files that I needed. Luckily, the link works 🙂 When you navigate to that link, you will be prompted to download the zip file. It’s around 97mb. Once it has downloaded, navigate to your Android directory. Unzip the zip file into the “platforms” directory. There should now be a folder called “android-3.0_pre_r01-linux” sitting in the “platforms” directory. This folder contains all the Honeycomb files.

To launch honeycomb, fire up the Android SDK and AVD manager. Under “Installed Packages” you should see “SDK Platform Android Honeycomb Preview, revision 1”. Now you can go to “Virtual Devices”, click “New” and set up a new Android Virtual Device as you would normally. Just make sure from the “target” device drop down menu you select the Honeycomb preview. When you’ve set up the AVD, you can now start it and away you go.

*UPDATE – 28/01/11:
It does appear that Google has removed the http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip link. I’m not sure why they’ve done this. I will have a hunt around on the net to see if I can find a work around.

**UPDATE – 29/01/11:
Since the Android 3.0 Honeycomb file was removed from the server, J was kind enough to leave a link to a torrent of the file in the comments section. Just a warning when installing software from unofficial sources – Do so at your own risk. If you do happen to find a version of Honeycomb you can then follow the instructions under “Manually install Android 3.0 Honeycomb” section.

***UPDATE – 1/02/11:
Hey everyone, it’s back up! It looks like Google have made the link to Android Honeycomb 3.0 – android-3.0_pre_r01-linux.zip available again. As of this morning, it appears to be working. Let the downloads begin.

Link to Android 3.1 Honeycomb – android-3.1_r02-linux.zip

*** UPDATE – 14/06/22: For those of you who are looking for the link to download Android 3.1 Honeycomb zip file, here it is http://dl-ssl.google.com/android/repository/android-3.1_r02-linux.zip

Oh and by the way, if you would like to see some Android 3.0 Honeycomb screen grabs, you can check them out here