lichaoyue888 发表于 2018-6-26 13:58:02

windows下载android源代码

$mkdir /home/android  $cd /home/android
  $mkdir bin
  //下载安装repo版本管理工具:
  $curl http://android.git.kernel.org/repo> /home/android/bin/repo
  $cd bin
  $chmod a+x repo
  准备下载Android:
  $cd /home/android
  $python ./bin/repo init -u git://android.git.kernel.org/platform/manifest.git –bcupcake
  $git config --global user.email \"xxxxx@xxxxxxx\"
  $git config --global user.name \"xxxxxx\"
  邮箱地址填有效邮箱即可,我试过,其实这步跳过也没有问题。
  //下载源码:
  $python bin/repo sync
页: [1]
查看完整版本: windows下载android源代码