txt.si/blog

How to set up an Android developement environment in gentoo

Content on this page is probably outdated and represents my personal knowledge, feelings and understading of things at that time .

First, you need dev-util/eclipse-sdk and dev-util/android-sdk-update-manager.
Then, you run eclipse and you add the following software sites (Window –> Preferences –> Install/Update –> Available Software Sites):
- http://download.eclipse.org/releases/galileo (Galileo)
- http://download.eclipse.org/tools/gef/updates/releases/ (GEF)
- https://dl-ssl.google.com/android/eclipse/ (Android)

Then you go in Help –> Install new software and first select the GEF site and install GEF SDK, then you select the Galileo site and under “Web, XML, and Java EE Developement” select the WST Server Adapters and install it, and finally you can install the Android plugin from the Android site. Before that, you’ll probably need to log out and back in or set the PATH variable yourself.

After you have everything installed, you need to set the path to Android SDK (/opt/android-sdk-update-manager/) under Window –> Preferences –> Android and that’s it, you are ready to develop.