Android 的源代码终于自己托管了

出自大连开源软件公共开发服务平台

android 的源代码终于自己托管了

摘要: 使用 Git 获取 Android 源码的方法: https://android.googlesource.com/mirror/manifest.git 获取 Android 源码的方法:mkdir /usr/local/android-mirror...


  使用 Git 获取 Android 源码的方法:

  https://android.googlesource.com/mirror/manifest.git

  获取 Android 源码的方法:

  mkdir /usr/local/android-mirror
    cd /usr/local/android-mirror
    repo init --mirror -u https://android.googlesource.com/mirror/manifest
    repo sync
    mkdir /usr/local/android-2.3.7
    cd /usr/local/android-2.3.7
    repo init -u /usr/local/mirror/platform/manifest.git -b android-2.3.7_r1
    repo sync
    repo init -u https://android.googlesource.com/platform/manifest
    repo sync
个人工具