清华大学 TUNA 镜像源
http://mirror.tuna.tsinghua.edu.cn/help/#AOSP
可以参考:
http://blog.csdn.net/sunchaoenter/article/details/46342759
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
下载 repo 工具:
git clone git://aosp.tuna.tsinghua.edu.cn/android/git-repo.git/
cp git-repo/repo /bin/repo
gedit /bin/repo
修改如下:
#REPO_URL = 'https://gerrit.googlesource.com/git-repo'
REPO_URL = 'git://aosp.tuna.tsinghua.edu.cn/android/git-repo'
另一个下载地址:
https://github.com/esrlabs/git-repo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mkdir android/AOSP -p
cd android/AOSP
[root@localhost AOSP]# repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest
[root@localhost AOSP]# repo sync -j4 //同步源码树(以后只需执行这条命令来同步)
[root@localhost AOSP]# ls ./.repo/projects/prebuilts/python/darwin-x86/2.7.5.git/refs/tags/
android-4.4.1_r1 android-4.4_r1.2.0.1 android-5.1.1_r15 android-5.1.1_r9 android-6.0.1_r8
android-4.4.1_r1.0.1 android-4.4w_r1 android-5.1.1_r16 android-6.0.0_r1 android-6.0.1_r9
android-4.4.2_r1 android-5.0.0_r1 android-5.1.1_r17 android-6.0.0_r11 android-cts-4.4_r1
android-4.4.2_r1.0.1 android-5.0.0_r2 android-5.1.1_r18 android-6.0.0_r12 android-cts-4.4_r4
android-4.4.2_r2 android-5.0.0_r3 android-5.1.1_r19 android-6.0.0_r13 android-cts-5.0_r3
android-4.4.2_r2.0.1 android-5.0.0_r4 android-5.1.1_r2 android-6.0.0_r2 android-cts-5.1_r1
android-4.4.3_r1 android-5.0.0_r5 android-5.1.1_r20 android-6.0.0_r23 android-cts-5.1_r2
android-4.4.3_r1.0.1 android-5.0.0_r5.1 android-5.1.1_r22 android-6.0.0_r24 android-cts-5.1_r3
android-4.4.3_r1.1 android-5.0.0_r6 android-5.1.1_r23 android-6.0.0_r25 android-cts-5.1_r4
android-4.4.3_r1.1.0.1 android-5.0.0_r7 android-5.1.1_r24 android-6.0.0_r26 android-cts-6.0_r1
android-4.4.4_r1 android-5.0.1_r1 android-5.1.1_r25 android-6.0.0_r3 android-cts-6.0_r2
android-4.4.4_r1.0.1 android-5.0.2_r1 android-5.1.1_r26 android-6.0.0_r4 android-l-preview_r2
android-4.4.4_r2 android-5.0.2_r3 android-5.1.1_r28 android-6.0.0_r41 android-m-preview
android-4.4.4_r2.0.1 android-5.1.0_r1 android-5.1.1_r29 android-6.0.0_r5 android-m-preview-1
android-4.4_r0.7 android-5.1.0_r3 android-5.1.1_r3 android-6.0.0_r6 android-m-preview-2
android-4.4_r0.8 android-5.1.0_r4 android-5.1.1_r30 android-6.0.0_r7 android-sdk-4.4.2_r1
android-4.4_r0.9 android-5.1.0_r5 android-5.1.1_r33 android-6.0.1_r1 android-sdk-4.4.2_r1.0.1
android-4.4_r1 android-5.1.1_r1 android-5.1.1_r4 android-6.0.1_r10 android-wear-5.0.0_r1
android-4.4_r1.0.1 android-5.1.1_r10 android-5.1.1_r5 android-6.0.1_r3 android-wear-5.1.0_r1
android-4.4_r1.1 android-5.1.1_r12 android-5.1.1_r6 android-6.0.1_r4 android-wear-5.1.1_r1
android-4.4_r1.1.0.1 android-5.1.1_r13 android-5.1.1_r7 android-6.0.1_r5
android-4.4_r1.2 android-5.1.1_r14 android-5.1.1_r8 android-6.0.1_r7
分支信息:
[root@localhost AOSP]# git --git-dir=.repo/manifests/.git/ branch -a
相关热门文章
给主人留下些什么吧!~~
评论热议