2010-03-19

Installing Andriod SDK under Ubuntu 9.10 amd64

If you want to install the Android SDK under Ubuntu 64 bit you first have to install the 32bit libs:

apt-get install ia32-libs

Also you need the sun-java:

apt-get install sun-java6-bin

Now you can proceed like written on http://developer.android.com/sdk/index.html

1) Download the SDK for Linux from here: http://developer.android.com/sdk/download.html?v=android-sdk_r05-linux_86.tgz and extract it to a place you like.

2) apt-get install eclipse

3) in Eclipse -> Help -> Install new Software add the following location: https://dl-ssl.google.com/android/eclipse/ - most likely if you are using Ubuntu 9.10 and Eclipse from the repository you will suffer from this bug also: https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/460944?comments=all - a empty plugin list. In this case add
The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/3.5 and Galileo - http://download.eclipse.org/releases/galileo also.

4) Now install all stuff from the https://dl-ssl.google.com/android/eclipse/ location and restart Eclipse.

5) Now in Eclipse go to -> Window -> Preferences -> Android and Point to your Android SDK root directory.

6) Now it's time to add an SDK for your Android Platform - therefore in Eclipse go to -> Window -> Android SDK and AVD Manager -> Available Packages and choose your Android SDK Version

Voila! :)

No comments: