This is a cache of https://www.96boards.org/documentation/consumer/guides/aosp-index.md.html. It is a snapshot of the page at 2024-12-21T00:39:20.356+0000.
AOSP Build Guide Index - 96Boards

AOSP(Android Open Source Project) Documentation Index & Setup Guide


Documentation Index

Build Environment Setup

  • Recomended OS: Ubuntu 16.04 LTS. In case you are running some other distribution of Linux, consider using a containerized build environment running Ubuntu 16.04 LTS.
  • Dependencies:

    $ sudo apt update;
    $ sudo apt-get install git-core gnupg flex bison gperf build-essential zip \
      curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev \
      x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev \
      libxml2-utils xsltproc unzip python-mako openjdk-8-jdk
    
  • Installing Repo Tool: Repo is a tool that makes it easier to work with Git in the context of Android.

    $ mkdir ~/bin
    $ PATH=~/bin:$PATH
    $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    $ chmod a+x ~/bin/repo
    

    Video

video