Environment Setup Flow

Below is the flow of repo environment directory setup

Step 1: First we create a folder where we wish to store all our AOSP files. eg: AOSP/A14/

In this folder, our entire AOSP image(Android Operating System) will get downloaded and built from this same folder.

The AOSP OS will launch as emulator on our system from this folder itself without creating any reference to any entity other than the folder itself.

First step is to initialize this folder to be our AOSP folder using repo init command.

Using repo init command, we are declaring the folder to be AOSP folder where we can download modules of AOSP OS.

repo init -u https://android.googlesource.com/platform/manifest

Output:

repo has been initialized in path_to_working_directory

Once above command is hit, then .repo folder gets created in the directory where repo init is run.

Presence of .repo folder anywhere on the system indicates that the directory in which this folder exists is a directory which is initialized for tracking with repo tool.

.repo folder is hidden by nature.

This is similar to .git folder which is generally used for tracking a project.

The folder structure of .repo folder is as follows:

Last updated