B01b: Download the source code
B01b: Download the source code
Download Source Code
Info
Execute the commands only if are are not using a cloud instance and not using a prepared SSD. We have already downloaded and build the source code once for you. Execute these only if you are really want to start from scratch.
Create a directory for the code and development environment. In this tutorial, we will simply call this directory android.
# Create a new directory and use it as root of your build environment mkdir android cd android
Warning
Downloading takes quite a while and consumes > 200GB of storage capacity.
From this point on, all other commands should be executed from within your sources directory, unless stated otherwise.
# Initialize the repository repo init --partial-clone -b android-automotiveos-15.0.0_lts4 -u https://android.googlesource.com/platform/manifest # Actually download the source tree repo sync -c -j8