Build Android Stay organized with collections Save and categorize content based on your preferences. Follow the instructions on this page to build Android. Set up your build environment From within your working directory, source the envsetup.sh script to set up your build environment: source build/envsetup.sh This script imports several commands that let you work with the Android source code, incl