android源码下载时,repo下载不成功的问题

google官网 http://source.android.com/source/downloading.html上的地址根本不可用
  1. curl http://git-repo.googlecode.com/files/repo-1.13 > ~/bin/repo
  2. chmod a+x ~/bin/repo
  3. PATH=~/bin:$PATH
  4. mkdir WORKING_DIRECTORY
  5. cd WORKING_DIRECTORY
  6. repo init -u git://codeaurora.org/platform/manifest.git
  7. repo sync
  8. repo init -u git://codeaurora.org/platform/manifest.git -b android-4.2_r1(可选)
  9. repo sync(可选)

android分支查看 https://android.googlesource.com/platform/manifest/

你可能感兴趣的:(源码,android,Repo)