【eoe 1】获取Android源代码

 

Linux下

1.获取repo脚本文件(python脚本)

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo

 2.选择分支 

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

repo init -u https://android.googlesource.com/platform/mainfest =b android-4.0.1_r1

3.同步

  repo sync(国内时间很长)

Linux平台下下载Cyanogenmod Android源代码

 2.选择分支

repo init -u git://github.com/Cyanogenmod.git -b cm-10.1

 

 

 

posted @ 2013-07-12 23:08  谈笑风生膜法师  阅读(252)  评论(0编辑  收藏  举报