Build Android on Test Versions of Ubuntu 14.04 Trusty Tahr

Build Android on Test Versions of Ubuntu 14.04 Trusty Tahr

We may earn a commission for purchases made using our links.

With every new Linux distribution, some changes are required to successfully compile an Android build. Ubuntu is the most popular Linux distribution and is widely used to compile Android builds on home workstations. The most recent stable release is 13.10, but 14.04 is in testing and will be released in less than two months.

Trusty Tahr already can be used to stress test your CPU and compile your favorite ROM. As with almost every distribution, some preparation is needed, but a solution has been posted by XDA Senior Member sylentprofet.

Sylentprofet’s guide compiles all the necessary information, and how to use it. The main issue with Ubuntu 14.04 is Java. To build the Android OS with current tools, the Java version must be reverted to 1.6. Luckily, that can be done with just a few commands. Sylentprofet also shared a list of required tools and libraries needed to compile a ROM. The guide includes everything you need to know about setting up a build environment on Ubuntu and all Ubuntu-based distros like Mint, Xubuntu, Lubuntu, and so on.

Daily builds of Ubuntu can be obtained from the official Canonical website. Perhaps it’s a good time to test the beta, since it can now be done without losing the ability to compile Android. More information can be found in the guide thread.

[Thanks to my fellow news writer Samantha for the tip!]