Optimize Your Build Environment Setup Procedure
If you’re new to the world of Android development or simply want to reformat and start from scratch, one of the first things you are going to want to do after installing your choice of *nix flavor is to setup a working build environment.
Setting up a working build environment manually isn’t a particularly hard task, requiring only the knowledge of which packages to install and a little bit of configuration. However, part of the fun of coding is making the mundane simpler and more enjoyable, and that’s exactly what XDA Senior Member nolinuxnoparty and his collaborators have done with the Build Environment Setup Automater Script.
So what do you get when you use the script? It installs Python, JDK, GNU Make, Git, the Android SDK ADT Bundle, and the required packages for the Android Build Environment. This works on any x86 Linux PC, and obviously requires a healthy Internet connection. Using the script is remarkably simple. Just go to the download directory, chmod 755 the script, and ./execute it.
So far the script has been tested on Ubuntu 13.04, but it should work on virtually any distro. Head over to the utility thread to get started.