To build an environment for compiling Android, it is recommended to use 64-bit Ubuntu 16.04. The following software packages need to be installed:
1 | $ sudo apt-get install bison g++-multilib git gperf libxml2-utils make python-networkx zip |
- More instructions are available https://source.android.com/source/initializing.html;