您的位置:首页 > 运维架构 > Linux

CentOS 下载 Android 源代码。

2014-11-14 00:00 260 查看
http://source.android.com/source/downloading.html

参考文档

$ mkdir ~/bin
$ PATH=~/bin:$PATH


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


$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY


$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.3_r1


repo sync


开始下载 android 的源代码。



下载要好几个G 呢。。我用的是Centos的虚拟机。在windows 下面下载的。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: