you probably know by now that I am working currently with Android using Ubuntu. On my laptop I still run Ubuntu 10.04 LTS 😀 and had problem setting up the new Eclipse version Indigo in combination with the current Android SDK r17.
Now I found a way that is pretty simple if you also wanna update your Eclipse version.
If you have tried updating Eclipse and got error messages saying that dependencies cannot be resolved you are right here. I messed around a lot with my Eclipse installation, with manual download, and execute Eclipse as sudo and so on and so forth … Forget about all that.
1) install Eclipse
Yon won’t believe me but start with a normal installation of Eclipse from your distributions repositories:
sudo apt-get install eclipse
In my case that installed Eclipse Galileo, fine. Quite old but works. I started it up and it runs.
2) download current Eclipse
Now continue with downloading the current version of Eclipse from their website:
I chose Eclipse Classic (version 3.7.2 was the most recent) and stored it in my Download folder. After the download has finished, extract the tar file and you get a folder “eclipse”.
3) kill old Eclipse installation
So now make sure you have eclipse closed. Then open a terminal and execute the following command (please make sure in advanced, whether your distribution has stored Eclipse under this location!)
sudo rm -Rf /usr/lib/eclipse
4) replace with new version
Now you can move the just downloaded version to that place:
sudo mv ~/Download/eclipse /usr/lib/eclipse
5) final adjustments
You are nearly done, just open /usr/bin/eclipse with an editor and replace “Galileo” with “Indigo” in all locations you see it (if Galileo was your old version)
sudo gedit /usr/bin/eclipse
Save the file and fire up eclipse again, et voila: we have now Indigo running 😀
6) install ADT Plugin for Android development
Previously I had much problems with this too, because of missing dependencies. Executing as sudo helped but was inconvenient. So now it is much easier. You have Eclipse Indigo already running? Ok, then go to “Help > Install New Software”
In the input filed on the top insert
to get the latest version of the ADT Plugin. Wait until all data are fetched, then select “Developer Tools“, click “Next“, accept the License and wait until ADT is installed, restart Eclipse and you are done 😀
Of course you have to make sure that you already have installed the Android SDK, if you haven’t, it is available here:
And to make Eclipse familiar with the Android SDK, go to Eclipse, click on “Window > Preferences“, select “Android” in the left menu and then provide on the right hand side the path to where you have the SDK stored. With that set up you can manage all installed API version using the Eclipse shortcut “Window > Android SDK Manager“. Why shortcut, because this only executes the application “android” located in the SDK_folder/tools. You can also start this app without Eclipse:
I wanna give a reference for this post, what helped me a lot to figure out how to treat eclipse the right way to get it updated:
Ok, that’s it. I hope this is helpful and check back for more interesting stuff coming 😉