Android系统源代码下载

最近,我在研究android,所以想下载android源代码看看。
按照http://source.android.com/source/downloading.html 这个页面所提示的步骤在下载源代码的过程中,
出现了一些的问题,现在将这些问题记录下来,供大家参考。

1 安装repo,发生无法下载repo文件的问题
  在linux系统上直接执行
  curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
  的命令 没有任何反应。
  后来网上找了另外的repo源
  curl http://git-repo.googlecode.com/files/repo-1.12 > ~/bin/repo
  这样终于成功的将repo下载下来

2 执行 repo sync,发生了 无法连接 的问题。
  一开始执行下面的指令
  repo init -u https://android.googlesource.com/platform/manifest
  然后在执行
  repo sync
  的时候,出现了 无法连接。个人认为可能跟https有关系。所以将https 改成了 http之后,问题就解决了。
  命令如下
  repo init -u http://android.googlesource.com/platform/manifest
  repo sync

原文地址:https://www.cnblogs.com/guoyongrong/p/3554110.html