1.安装git
sudo apt-get install git-core
2.安装curl
sudo apt-get install git-core curl
3.新建一个目录
mkdir ~/android
cd android
mkdir source
mkdir bin
cd bin
4.在bin中安装repo, 通过curl下载repo
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > repo
5.给repo可执行权限
chmod a+x ~/bin/repo
6。然后返回到android中,进入source
cd ..
cd source
../bin/repo init -u https://android.googlesource.com/platform/manifest -b froyo
一会儿会叫你输入GMail帐号什么的就直接车,要输入y的就输入y
7.同步并开始开载
../bin/repo sync
之后就让他下载,你可做其他的事了
494

被折叠的 条评论
为什么被折叠?



