1,在mac新建150g區(qū)分大小寫(xiě)的空白映像痢畜,ASOP
2夹厌,配置repo 以便下載源碼,在mac根目錄下:
使用google官方地址下載:
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
如果無(wú)法訪問(wèn)storage.googleapis.com焦除,可以使用清華的地址:
mkdir ~/bin
PATH=~/bin:$PATH
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo > ~/bin/repo
chmod a+x ~/bin/repo
3,下載源碼 在ASOP下新建目錄 myandroid 并進(jìn)入該目錄下下載源碼
我需要的是高通msm8909 android7.1.2的源碼
repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.BR.1.2.9-06510-8x09.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
repo sync 后靜待下載吧作彤。