sudo apt install curl
sudo apt install python
cd /home/xxx
mkdir /home/xxxx/bin
PATH=/home/xxxx/android/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > bin/repo
chmod a+x bin/repo
mkdir v9.0
cd v9.0
vim /home/xxx/android/bin/repo, REPO_URL = ‘https://gerrit-googlesource.lug.ustc.edu.cn/git-repo’
repo init -u git://mirrors.ustc.edu.cn/aosp/platform/manifest -b android-9.0.0_r1
notice: please add “-b xxx”. If not, it will download all version!!! More than 30G for one version.
repo sync
download android src
最新推荐文章于 2022-06-02 08:18:24 发布