Google Ads

Installing Repo – Android Source Code


The Android source tree is located in a Git repository hosted by Google. The Git repository includes metadata for the Android source, including those related to changes to the source and the date they were made. This document describes how to download the source tree for a specific Android code-line.

 

Make sure you have a bin/ directory in your home directory and that it is included in your path:

 
 
  1. mkdir ~/bin
  2. PATH=~/bin:$PATH

 

Download the Repo tool and ensure that it is executable

 
 
  1. curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
  2. chmod a+x ~/bin/repo

 

For version 1.25, the SHA-256 checksum for repo is d06f33115aea44e583c8669375b35aad397176a411de3461897444d247b6c220.

 

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *

"