当前位置:   article > 正文

android 4.3源码下载【自己下载成功的步骤、其中遇到很多你可能会遇到的很多问题】_if you want to change this, please re-run 'repo in

if you want to change this, please re-run 'repo init' with --config-name
  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ cat /etc/issue  
  2. Ubuntu 12.04.2 LTS \n \l  
  3.   
  4. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ sudo lsb_release -a  
  5. [sudo] password for jianguoliao:   
  6. No LSB modules are available.  
  7. Distributor ID: Ubuntu  
  8. Description:    Ubuntu 12.04.2 LTS  
  9. Release:    12.04  
  10. Codename:   precise  
  11. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$   

上面位查看自己的ubuntu的版本号:12.04


1、先是系统查看是32位的还是64位

  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ getconf LONG_BIT  
  2. 32  
  3. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ getconf WORD_BIT  
  4. 32  
  5. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ file /bin/ls  
  6. /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xae048fd2a071afcb017d9091f4a78835e27340b2, stripped  
  7. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$  
  8. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$  
  9. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$  
  10. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ uname -m  
  11. i686  
  12.   
  13.   
  14. uname -m 如果出现i386 i686 i586则是32位 如果出现amd64 则是64位系统  


2、安装jdk1.6

方案一,可能会出现错误

Installing the JDK


The Sun JDK is no longer in Ubuntu's main package repository. In order to download it, you need to add the appropriate repository and indicate to the system which JDK should be used.

Java 6: for Gingerbread and newer

  1. $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
  2. $ sudo apt-get update
  3. $ sudo apt-get install sun-java6-jdk


上面可能出现如下错误;

  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ sudo apt-get install sun-java6-jdk  
  2. 正在读取软件包列表... 完成  
  3. 正在分析软件包的依赖关系树         
  4. 正在读取状态信息... 完成         
  5. 现在没有可用的软件包 sun-java6-jdk,但是它被其它的软件包引用了。  
  6. 这可能意味着这个缺失的软件包可能已被废弃,  
  7. 或者只能在其他发布源中找到  
  8.   
  9. E: 软件包 sun-java6-jdk 没有可供安装的候选者  


方案二  建议采用下面这个方法,我12.04的ubuntu版本,64位的用官方网站用的第一种方法没有成功

  1.  sudo gedit /etc/apt/sources.list  
  2. 打开源列表,在最后一行添加  
  3.   
  4. deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse   保存退出。  
  5.   
  6. 2、sudo apt-get update  
  7. 3、sudo apt-get install sun-java6-jdk  
  8. 4、jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ sudo update-alternatives --config java  
  9. There is only one alternative in link group java: /usr/lib/jvm/java-6-sun/jre/bin/java  
  10. Nothing to configure.  
  11. 5、jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ java -version  
  12. java version "1.6.0_06"  
  13. Java(TM) SE Runtime Environment (build 1.6.0_06-b02)  
  14. Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)  
  15. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$   


Installing required packages (Ubuntu 12.04)


Building on Ubuntu 12.04 is currently only experimentally supported and is notguaranteed to work on branches other than master.

  1. $ sudo apt-get install git gnupg flex bison gperf build-essential \
  2. zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  3. libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  4. libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  5. python-markdown libxml2-utils xsltproc zlib1g-dev:i386
  6. $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

3、安装git

  1. sudo apt-get install git-core curl  


 这条命令会从互联网的软件仓库中安装 git-core 和 curl


4、

Installing Repo


  1. Make sure you have a bin/ directory in your home directory and that it is included in your path:

    1. $ mkdir ~/bin
    2. $ PATH=~/bin:$PATH
  2. Download the Repo tool and ensure that it is executable:

    $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    $ chmod a+x ~/bin/repo

其中


  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$  curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo  
  2.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  3.                                  Dload  Upload   Total   Spent    Left  Speed  
  4.   0     0    0     0    0     0      0      0 --:--:--  0:04:00 --:--:--     0curl: (7) Failed to connect to 2404:6800:4005:c00::88: Network is unreachable  

下面为两种解决办法,任何一种都可以

一、

  1. curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" >~/bin/repo  

二、
  1. 打开 gedit /etc/hosts  
  2. 添加如下内容:  
  3. 74.125.237.1   dl-ssl.google.com  

  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo  
  2.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  3.                                  Dload  Upload   Total   Spent    Left  Speed  
  4. 100 22889  100 22889    0     0  20152      0  0:00:01  0:00:01 --:--:-- 24221  
  5. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$   


chmod a+x ~/bin/repo



5、
  1. Initializing a Repo client  
  2.   
  3. $ mkdir WORKING_DIRECTORY  
  4. $ cd WORKING_DIRECTORY  
  5.   
  6. $ repo init -u https://android.googlesource.com/platform/manifest  

遇到如下问题:

  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/platform/manifest  
  2. gpg: key 920F5C65: "Repo Maintainer <repo@android.kernel.org>" not changed  
  3. gpg: key 338871A4: public key "Conley Owens <cco3@android.com>" imported  
  4. gpg: Total number processed: 2  
  5. gpg:               imported: 1  (RSA: 1)  
  6. gpg:              unchanged: 1  
  7.   
  8.   
  9. fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle  
  10. fatal: error [Errno 101] Network is unreachable  

或者:
  1.  * [new tag]         v1.9.5     -> v1.9.5  
  2.  * [new tag]         v1.9.6     -> v1.9.6  
  3. Get https://android.googlesource.com/platform/manifest  
  4.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  5.                                  Dload  Upload   Total   Spent    Left  Speed  
  6.   0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0  
  7. curl: (22) The requested URL returned error: 404  
  8. Server does not provide clone.bundle; ignoring.  
  9. remote: Counting objects: 92, done  
  10. remote: Finding sources: 100% (92/92)  
  11. remote: Total 816 (delta 96), reused 816 (delta 96)  
  12. Receiving objects: 100% (816/816), 708.29 KiB | 247 KiB/s, done.  
  13. Resolving deltas: 100% (96/96), done.  
  14. From https://android.googlesource.com/platform/manifest  
  15.  * [new branch]      android-1.6_r1 -> origin/android-1.6_r1  


解决方法,官网说明,和网上统一口径,如下:

  1. 1,  先按官网的步骤一步步执行  
  2. 2,当遇到上述问题后,用浏览器登录https://android.googlesource.com/new-password,并用gmail帐号登录;  
  3. 3, 点击网页上的“允许访问”,得到类似的结果:  
  4.    
  5. machine android.googlesource.com login git-<userName>.gmail.com password <password>  
  6. machine android-review.googlesource.com login git-<userName>.gmail.com password <password>  
  7.  将上边的两行追加到~/.netrc文件结尾。(如果你的linux系统中从来没有建立过此文件,就在home目录下建立.netrc文件,将上面的信息加到新建的文件中去),  
  8. 4,下载地址的URI更改为https://android.googlesource.com/a/platform/manifest(中间加上了“/a”)。  
  9.    
  10. 因为访问基本是匿名的,为了防止连接过多,对同一IP地址的连接数做了一定的限制。用gmail帐号进行认证。  
  11. 在公司网络内或者用虚拟机下载的话,会经常遇到这问题。  


如果遇到下面问题

  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$   
  2. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/a/platform/manifest --config  
  3.   
  4. Your Name  [jianguo liao]: jianguo liao  
  5. Your Email [liaojianguo19840726@gmail.com]: liaojianguo19840726@gmail.com  
  6.   
  7. Your identity is: jianguo liao <liaojianguo19840726@gmail.com>  
  8. is this correct [y/N]? y  
  9.   
  10. repo has been initialized in /home/jianguoliao/WORKING_DIRECTORY  

解决
  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/platform/manifest  
  2.   
  3. Your identity is: jianguo liao <liaojianguo19840726@gmail.com>  
  4. If you want to change this, please re-run 'repo init' with --config-name  

或者:注意没有/a哦
  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/platform/manifest --config  
  2.   
  3. Your Name  [jianguo liao]: jianguo liao  
  4. Your Email [liaojianguo19840726@gmail.com]: liaojianguo19840726@gmail.com  
  5.   
  6. Your identity is: jianguo liao <liaojianguo19840726@gmail.com>  
  7. is this correct [y/N]? y  
  8.   
  9. repo has been initialized in /home/jianguoliao/WORKING_DIRECTORY  
  10. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$   


接着搞:

  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1  
  2. .repo/manifests/: discarding 88 commits  
  3.   
  4. Your identity is: jianguo liao <liaojianguo19840726@gmail.com>  
  5. If you want to change this, please re-run 'repo init' with --config-name  
  6.   
  7. repo has been initialized in /home/jianguoliao/WORKING_DIRECTORY  
  8. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$   


好吧,接下来最后一步了

  1. $ repo sync  

网上有朋友建议,写个脚本如下:
  1. #!/bin/bash    
  2. echo "======start repo sync======"    
  3. repo sync    
  4. while [ $? = 1 ]; do    
  5. echo "======sync failed, re-sync again======"    
  6. sleep 3    
  7. repo sync    
  8. done  

其中还遇到如下问题,经常提示如下信息,网上有朋友建议:

  1. error: Failed connect to android.googlesource.com:443;Connection refused while accessinghttps://android.googlesource.com/a/platform/frameworks/base/info/refs  
  2.   
  3. fatal: HTTP request failed  
  4.   
  5. error: Cannot fetch platform/tools/motodev  
  6.   
  7. error: Cannot fetch platform/frameworks/base  
  8.   
  9. error: Cannot fetch platform/prebuilts/sdk   
  10.   
  11. error: Exited sync due to fetch errors  
  12.   
  13. 等错误信息。  
  14.   
  15. 解决方法:编辑/etc/hosts文件  
  16.   
  17.  $ sudo gedit /etc/hosts  
  18.   
  19. 增加下面内容,保存  
  20.   
  21. 74.125.71.82 www.googlesource.com  
  22.   
  23. 74.125.31.82 android.googlesource.com  
  24.   
  25. 203.208.46.172 cache.pack.google.com  
  26.   
  27. 59.24.3.173cache.pack.google.com  


早上起来发现代码下载好了,happy下!


下载完后,你可以查看最新所有的分子,下载你想要的比如最新的android source,比如4.3的代码

  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$ ls -al  
  2. total 92  
  3. drwxrwxr-x  21 jianguoliao jianguoliao 4096 Aug  9 04:11 .  
  4. drwxr-xr-x  30 jianguoliao jianguoliao 4096 Aug 11 08:16 ..  
  5. drwxrwxr-x   3 jianguoliao jianguoliao 4096 Aug  9 04:06 abi  
  6. drwxrwxr-x   9 jianguoliao jianguoliao 4096 Aug  9 04:06 bionic  
  7. drwxrwxr-x   5 jianguoliao jianguoliao 4096 Aug  9 04:06 bootable  
  8. drwxrwxr-x   7 jianguoliao jianguoliao 4096 Aug  9 04:06 build  
  9. drwxrwxr-x   8 jianguoliao jianguoliao 4096 Aug  9 04:06 cts  
  10. drwxrwxr-x  19 jianguoliao jianguoliao 4096 Aug  9 04:06 dalvik  
  11. drwxrwxr-x  20 jianguoliao jianguoliao 4096 Aug  9 04:06 development  
  12. drwxrwxr-x   8 jianguoliao jianguoliao 4096 Aug  9 04:06 device  
  13. drwxrwxr-x   3 jianguoliao jianguoliao 4096 Aug  9 04:06 docs  
  14. drwxrwxr-x 116 jianguoliao jianguoliao 4096 Aug  9 04:08 external  
  15. drwxrwxr-x   8 jianguoliao jianguoliao 4096 Aug  9 04:08 frameworks  
  16. drwxrwxr-x  10 jianguoliao jianguoliao 4096 Aug  9 04:08 hardware  
  17. drwxrwxr-x  12 jianguoliao jianguoliao 4096 Aug  9 04:09 libcore  
  18. -r--r--r--   1 jianguoliao jianguoliao   87 Aug  9 04:06 Makefile  
  19. drwxrwxr-x   8 jianguoliao jianguoliao 4096 Aug  9 04:09 ndk  
  20. drwxrwxr-x   7 jianguoliao jianguoliao 4096 Aug  9 04:09 packages  
  21. drwxrwxr-x  15 jianguoliao jianguoliao 4096 Aug  9 04:11 prebuilt  
  22. drwxrwxr-x   6 jianguoliao jianguoliao 4096 Aug  9 04:06 .repo  
  23. -rwxrwxrwx   1 jianguoliao jianguoliao  161 Aug  8 21:39 repo_sync.sh  
  24. drwxrwxr-x  39 jianguoliao jianguoliao 4096 Aug  9 04:11 sdk  
  25. drwxrwxr-x   8 jianguoliao jianguoliao 4096 Aug  9 04:11 system  
  26. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY$ cd .repo/  
  27. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY/.repo$ ls  
  28. manifests  manifests.git  manifest.xml  project.list  projects  repo  
  29. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY/.repo$ cd manifests  
  30. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY/.repo/manifests$ ls  
  31. default.xml  
  32. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/WORKING_DIRECTORY/.repo/manifests$ git branch -al  
  33. * default  
  34.   remotes/m/android-4.0.1_r1 -> origin/android-4.0.1_r1  
  35.   remotes/origin/android-1.6_r1  
  36.   remotes/origin/android-1.6_r1.1  
  37.   remotes/origin/android-1.6_r1.2  
  38.   remotes/origin/android-1.6_r1.3  
  39.   remotes/origin/android-1.6_r1.4  
  40.   remotes/origin/android-1.6_r1.5  
  41.   remotes/origin/android-1.6_r2  
  42.   remotes/origin/android-2.0.1_r1  
  43.   remotes/origin/android-2.0_r1  
  44.   remotes/origin/android-2.1_r1  
  45.   remotes/origin/android-2.1_r2  
  46.   remotes/origin/android-2.1_r2.1p  
  47.   remotes/origin/android-2.1_r2.1p2  
  48.   remotes/origin/android-2.1_r2.1s  
  49.   remotes/origin/android-2.2.1_r1  
  50.   remotes/origin/android-2.2.1_r2  
  51.   remotes/origin/android-2.2.2_r1  
  52.   remotes/origin/android-2.2.3_r1  
  53.   remotes/origin/android-2.2.3_r2  
  54.   remotes/origin/android-2.2.3_r2.1  
  55.   remotes/origin/android-2.2_r1  
  56.   remotes/origin/android-2.2_r1.1  
  57.   remotes/origin/android-2.2_r1.2  
  58.   remotes/origin/android-2.2_r1.3  
  59.   remotes/origin/android-2.3.1_r1  
  60.   remotes/origin/android-2.3.2_r1  
  61.   remotes/origin/android-2.3.3_r1  
  62.   remotes/origin/android-2.3.3_r1.1  
  63.   remotes/origin/android-2.3.4_r0.9  
  64.   remotes/origin/android-2.3.4_r1  
  65.   remotes/origin/android-2.3.5_r1  
  66.   remotes/origin/android-2.3.6_r0.9  
  67.   remotes/origin/android-2.3.6_r1  
  68.   remotes/origin/android-2.3.7_r1  
  69.   remotes/origin/android-2.3_r1  
  70.   remotes/origin/android-4.0.1_r1  
  71.   remotes/origin/android-4.0.1_r1.1  
  72.   remotes/origin/android-4.0.1_r1.2  
  73.   remotes/origin/android-4.0.2_r1  
  74.   remotes/origin/android-4.0.3_r1  
  75.   remotes/origin/android-4.0.3_r1.1  
  76.   remotes/origin/android-4.0.4_r1  
  77.   remotes/origin/android-4.0.4_r1.1  
  78.   remotes/origin/android-4.0.4_r1.2  
  79.   remotes/origin/android-4.0.4_r2  
  80.   remotes/origin/android-4.0.4_r2.1  
  81.   remotes/origin/android-4.1.1_r1  
  82.   remotes/origin/android-4.1.1_r1.1  
  83.   remotes/origin/android-4.1.1_r2  
  84.   remotes/origin/android-4.1.1_r3  
  85.   remotes/origin/android-4.1.1_r4  
  86.   remotes/origin/android-4.1.1_r5  
  87.   remotes/origin/android-4.1.1_r6  
  88.   remotes/origin/android-4.1.1_r6.1  
  89.   remotes/origin/android-4.1.2_r1  
  90.   remotes/origin/android-4.1.2_r2  
  91.   remotes/origin/android-4.1.2_r2.1  
  92.   remotes/origin/android-4.2.1_r1  
  93.   remotes/origin/android-4.2.1_r1.1  
  94.   remotes/origin/android-4.2.1_r1.2  
  95.   remotes/origin/android-4.2.2_r1  
  96.   remotes/origin/android-4.2.2_r1.1  
  97.   remotes/origin/android-4.2.2_r1.2  
  98.   remotes/origin/android-4.2.2_r1.2b  
  99.   remotes/origin/android-4.2_r1  
  100.   remotes/origin/android-4.3_r0.9  
  101.   remotes/origin/android-4.3_r0.9.1  
  102.   remotes/origin/android-4.3_r1  
  103.   remotes/origin/android-4.3_r2  
  104.   remotes/origin/android-4.3_r2.1  
  105.   remotes/origin/android-cts-2.2_r8  
  106.   remotes/origin/android-cts-2.3_r10  
  107.   remotes/origin/android-cts-2.3_r11  
  108.   remotes/origin/android-cts-2.3_r12  
  109.   remotes/origin/android-cts-4.0.3_r1  
  110.   remotes/origin/android-cts-4.0.3_r2  
  111.   remotes/origin/android-cts-4.0_r1  
  112.   remotes/origin/android-cts-4.1_r1  
  113.   remotes/origin/android-cts-4.1_r2  
  114.   remotes/origin/android-cts-4.2_r2  
  115.   remotes/origin/android-cts-verifier-4.0.3_r1  
  116.   remotes/origin/android-cts-verifier-4.0_r1  
  117.   remotes/origin/android-sdk-4.0.3-tools_r1  
  118.   remotes/origin/android-sdk-4.0.3_r1  
  119.   remotes/origin/android-sdk-adt_r16.0.1  
  120.   remotes/origin/android-sdk-adt_r20  
  121.   remotes/origin/android-sdk-support_r11  
  122.   remotes/origin/froyo  
  123.   remotes/origin/gingerbread  
  124.   remotes/origin/gingerbread-release  
  125.   remotes/origin/ics-mr0  
  126.   remotes/origin/ics-mr1  
  127.   remotes/origin/ics-plus-aosp  
  128.   remotes/origin/jb-dev  
  129.   remotes/origin/jb-mr1-dev  
  130.   remotes/origin/jb-mr1-dev-plus-aosp  
  131.   remotes/origin/jb-mr1.1-dev  
  132.   remotes/origin/jb-mr1.1-dev-plus-aosp  
  133.   remotes/origin/jb-mr2-dev  
  134.   remotes/origin/jumper-stable  
  135.   remotes/origin/master  
  136.   remotes/origin/master-dalvik  
  137.   remotes/origin/tools_r20  
  138.   remotes/origin/tools_r21  
  139.   remotes/origin/tools_r21.1  
  140.   remotes/origin/tools_r22  
  141.   remotes/origin/tradefed  


接下来我们下载4.3最新代码,其中遇到“cannot make .repo directory: Permission denied”看我怎么解决的,如果你是root用户不会有这个问题,就是权限问题

  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~$ cd android_source/  
  2. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ ls  
  3. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$  repo init -u https://android.googlesource.com/platform/manifest  
  4. fatal: cannot make .repo directory: Permission denied  
  5. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ chmod a+x ~/bin/repo  
  6. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ PATH=~/bin:$PATH  
  7. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ repo init -u https://android.googlesource.com/platform/manifest  
  8. fatal: cannot make .repo directory: Permission denied  
  9. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ sudo chown -R jianguoliao:jianguoliao ./  
  10. [sudo] password for jianguoliao:   
  11. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ repo init -u https://android.googlesource.com/platform/manifest  
  12. Get https://gerrit.googlesource.com/git-repo  
  13. remote: Counting objects: 101, done  
  14. remote: Finding sources: 100% (101/101)  
  15. remote: Total 2533 (delta 1442), reused 2533 (delta 1442)  
  16. Receiving objects: 100% (2533/2533), 1.71 MiB | 912 KiB/s, done.  
  17. Resolving deltas: 100% (1442/1442), done.  
  18. From https://gerrit.googlesource.com/git-repo  
  19.  * [new branch]      maint      -> origin/maint  
  20.  * [new branch]      master     -> origin/master  
  21.  * [new branch]      stable     -> origin/stable  
  22.  * [new tag]         v1.0       -> v1.0  
  23.  * [new tag]         v1.0.1     -> v1.0.1  
  24.  * [new tag]         v1.0.2     -> v1.0.2  
  25.  * [new tag]         v1.0.3     -> v1.0.3  
  26.  * [new tag]         v1.0.4     -> v1.0.4  
  27.  * [new tag]         v1.0.5     -> v1.0.5  
  28.  * [new tag]         v1.0.6     -> v1.0.6  
  29.  * [new tag]         v1.0.7     -> v1.0.7  
  30.  * [new tag]         v1.0.8     -> v1.0.8  
  31.  * [new tag]         v1.0.9     -> v1.0.9  
  32.  * [new tag]         v1.1       -> v1.1  
  33.  * [new tag]         v1.10.0    -> v1.10.0  
  34.  * [new tag]         v1.10.1    -> v1.10.1  
  35.  * [new tag]         v1.10.2    -> v1.10.2  
  36.  * [new tag]         v1.10.3    -> v1.10.3  
  37.  * [new tag]         v1.10.4    -> v1.10.4  
  38.  * [new tag]         v1.11.0    -> v1.11.0  
  39.  * [new tag]         v1.11.1    -> v1.11.1  
  40.  * [new tag]         v1.12.0    -> v1.12.0  
  41.  * [new tag]         v1.12.1    -> v1.12.1  
  42.  * [new tag]         v1.12.2    -> v1.12.2  
  43.  * [new tag]         v1.2       -> v1.2  
  44.  * [new tag]         v1.3       -> v1.3  
  45.  * [new tag]         v1.3.1     -> v1.3.1  
  46.  * [new tag]         v1.3.2     -> v1.3.2  
  47.  * [new tag]         v1.4       -> v1.4  
  48.  * [new tag]         v1.4.1     -> v1.4.1  
  49.  * [new tag]         v1.4.2     -> v1.4.2  
  50.  * [new tag]         v1.4.3     -> v1.4.3  
  51.  * [new tag]         v1.4.4     -> v1.4.4  
  52.  * [new tag]         v1.5       -> v1.5  
  53.  * [new tag]         v1.5.1     -> v1.5.1  
  54.  * [new tag]         v1.6       -> v1.6  
  55.  * [new tag]         v1.6.1     -> v1.6.1  
  56.  * [new tag]         v1.6.10    -> v1.6.10  
  57.  * [new tag]         v1.6.10.1  -> v1.6.10.1  
  58.  * [new tag]         v1.6.10.2  -> v1.6.10.2  
  59.  * [new tag]         v1.6.2     -> v1.6.2  
  60.  * [new tag]         v1.6.3     -> v1.6.3  
  61.  * [new tag]         v1.6.4     -> v1.6.4  
  62.  * [new tag]         v1.6.5     -> v1.6.5  
  63.  * [new tag]         v1.6.6     -> v1.6.6  
  64.  * [new tag]         v1.6.7     -> v1.6.7  
  65.  * [new tag]         v1.6.7.1   -> v1.6.7.1  
  66.  * [new tag]         v1.6.7.2   -> v1.6.7.2  
  67.  * [new tag]         v1.6.7.3   -> v1.6.7.3  
  68.  * [new tag]         v1.6.7.4   -> v1.6.7.4  
  69.  * [new tag]         v1.6.7.5   -> v1.6.7.5  
  70.  * [new tag]         v1.6.8     -> v1.6.8  
  71.  * [new tag]         v1.6.8.1   -> v1.6.8.1  
  72.  * [new tag]         v1.6.8.10  -> v1.6.8.10  
  73.  * [new tag]         v1.6.8.11  -> v1.6.8.11  
  74.  * [new tag]         v1.6.8.2   -> v1.6.8.2  
  75.  * [new tag]         v1.6.8.3   -> v1.6.8.3  
  76.  * [new tag]         v1.6.8.4   -> v1.6.8.4  
  77.  * [new tag]         v1.6.8.5   -> v1.6.8.5  
  78.  * [new tag]         v1.6.8.6   -> v1.6.8.6  
  79.  * [new tag]         v1.6.8.7   -> v1.6.8.7  
  80.  * [new tag]         v1.6.8.8   -> v1.6.8.8  
  81.  * [new tag]         v1.6.8.9   -> v1.6.8.9  
  82.  * [new tag]         v1.6.9     -> v1.6.9  
  83.  * [new tag]         v1.6.9.1   -> v1.6.9.1  
  84.  * [new tag]         v1.6.9.2   -> v1.6.9.2  
  85.  * [new tag]         v1.6.9.3   -> v1.6.9.3  
  86.  * [new tag]         v1.6.9.4   -> v1.6.9.4  
  87.  * [new tag]         v1.6.9.5   -> v1.6.9.5  
  88.  * [new tag]         v1.6.9.6   -> v1.6.9.6  
  89.  * [new tag]         v1.6.9.7   -> v1.6.9.7  
  90.  * [new tag]         v1.6.9.8   -> v1.6.9.8  
  91.  * [new tag]         v1.7       -> v1.7  
  92.  * [new tag]         v1.7.1     -> v1.7.1  
  93.  * [new tag]         v1.7.2     -> v1.7.2  
  94.  * [new tag]         v1.7.3     -> v1.7.3  
  95.  * [new tag]         v1.7.3.1   -> v1.7.3.1  
  96.  * [new tag]         v1.7.4     -> v1.7.4  
  97.  * [new tag]         v1.7.4.1   -> v1.7.4.1  
  98.  * [new tag]         v1.7.4.2   -> v1.7.4.2  
  99.  * [new tag]         v1.7.4.3   -> v1.7.4.3  
  100.  * [new tag]         v1.7.5     -> v1.7.5  
  101.  * [new tag]         v1.7.6     -> v1.7.6  
  102.  * [new tag]         v1.7.6.1   -> v1.7.6.1  
  103.  * [new tag]         v1.7.7     -> v1.7.7  
  104.  * [new tag]         v1.7.7.1   -> v1.7.7.1  
  105.  * [new tag]         v1.7.7.2   -> v1.7.7.2  
  106.  * [new tag]         v1.7.7.3   -> v1.7.7.3  
  107.  * [new tag]         v1.7.7.4   -> v1.7.7.4  
  108.  * [new tag]         v1.7.7.5   -> v1.7.7.5  
  109.  * [new tag]         v1.7.7.6   -> v1.7.7.6  
  110.  * [new tag]         v1.7.8     -> v1.7.8  
  111.  * [new tag]         v1.7.8.1   -> v1.7.8.1  
  112.  * [new tag]         v1.7.8.2   -> v1.7.8.2  
  113.  * [new tag]         v1.8.0     -> v1.8.0  
  114.  * [new tag]         v1.8.1     -> v1.8.1  
  115.  * [new tag]         v1.8.2     -> v1.8.2  
  116.  * [new tag]         v1.9.0     -> v1.9.0  
  117.  * [new tag]         v1.9.1     -> v1.9.1  
  118.  * [new tag]         v1.9.2     -> v1.9.2  
  119.  * [new tag]         v1.9.3     -> v1.9.3  
  120.  * [new tag]         v1.9.4     -> v1.9.4  
  121.  * [new tag]         v1.9.5     -> v1.9.5  
  122.  * [new tag]         v1.9.6     -> v1.9.6  
  123. Get https://android.googlesource.com/platform/manifest  
  124.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  125.                                  Dload  Upload   Total   Spent    Left  Speed  
  126.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  
  127. curl: (22) The requested URL returned error: 404  
  128. Server does not provide clone.bundle; ignoring.  
  129. remote: Counting objects: 92, done  
  130. remote: Finding sources: 100% (92/92)  
  131. remote: Total 816 (delta 96), reused 816 (delta 96)  
  132. Receiving objects: 100% (816/816), 708.29 KiB | 926 KiB/s, done.  
  133. Resolving deltas: 100% (96/96), done.  
  134. From https://android.googlesource.com/platform/manifest  
  135.  * [new branch]      android-1.6_r1 -> origin/android-1.6_r1  
  136.  * [new branch]      android-1.6_r1.1 -> origin/android-1.6_r1.1  
  137.  * [new branch]      android-1.6_r1.2 -> origin/android-1.6_r1.2  
  138.  * [new branch]      android-1.6_r1.3 -> origin/android-1.6_r1.3  
  139.  * [new branch]      android-1.6_r1.4 -> origin/android-1.6_r1.4  
  140.  * [new branch]      android-1.6_r1.5 -> origin/android-1.6_r1.5  
  141.  * [new branch]      android-1.6_r2 -> origin/android-1.6_r2  
  142.  * [new branch]      android-2.0.1_r1 -> origin/android-2.0.1_r1  
  143.  * [new branch]      android-2.0_r1 -> origin/android-2.0_r1  
  144.  * [new branch]      android-2.1_r1 -> origin/android-2.1_r1  
  145.  * [new branch]      android-2.1_r2 -> origin/android-2.1_r2  
  146.  * [new branch]      android-2.1_r2.1p -> origin/android-2.1_r2.1p  
  147.  * [new branch]      android-2.1_r2.1p2 -> origin/android-2.1_r2.1p2  
  148.  * [new branch]      android-2.1_r2.1s -> origin/android-2.1_r2.1s  
  149.  * [new branch]      android-2.2.1_r1 -> origin/android-2.2.1_r1  
  150.  * [new branch]      android-2.2.1_r2 -> origin/android-2.2.1_r2  
  151.  * [new branch]      android-2.2.2_r1 -> origin/android-2.2.2_r1  
  152.  * [new branch]      android-2.2.3_r1 -> origin/android-2.2.3_r1  
  153.  * [new branch]      android-2.2.3_r2 -> origin/android-2.2.3_r2  
  154.  * [new branch]      android-2.2.3_r2.1 -> origin/android-2.2.3_r2.1  
  155.  * [new branch]      android-2.2_r1 -> origin/android-2.2_r1  
  156.  * [new branch]      android-2.2_r1.1 -> origin/android-2.2_r1.1  
  157.  * [new branch]      android-2.2_r1.2 -> origin/android-2.2_r1.2  
  158.  * [new branch]      android-2.2_r1.3 -> origin/android-2.2_r1.3  
  159.  * [new branch]      android-2.3.1_r1 -> origin/android-2.3.1_r1  
  160.  * [new branch]      android-2.3.2_r1 -> origin/android-2.3.2_r1  
  161.  * [new branch]      android-2.3.3_r1 -> origin/android-2.3.3_r1  
  162.  * [new branch]      android-2.3.3_r1.1 -> origin/android-2.3.3_r1.1  
  163.  * [new branch]      android-2.3.4_r0.9 -> origin/android-2.3.4_r0.9  
  164.  * [new branch]      android-2.3.4_r1 -> origin/android-2.3.4_r1  
  165.  * [new branch]      android-2.3.5_r1 -> origin/android-2.3.5_r1  
  166.  * [new branch]      android-2.3.6_r0.9 -> origin/android-2.3.6_r0.9  
  167.  * [new branch]      android-2.3.6_r1 -> origin/android-2.3.6_r1  
  168.  * [new branch]      android-2.3.7_r1 -> origin/android-2.3.7_r1  
  169.  * [new branch]      android-2.3_r1 -> origin/android-2.3_r1  
  170.  * [new branch]      android-4.0.1_r1 -> origin/android-4.0.1_r1  
  171.  * [new branch]      android-4.0.1_r1.1 -> origin/android-4.0.1_r1.1  
  172.  * [new branch]      android-4.0.1_r1.2 -> origin/android-4.0.1_r1.2  
  173.  * [new branch]      android-4.0.2_r1 -> origin/android-4.0.2_r1  
  174.  * [new branch]      android-4.0.3_r1 -> origin/android-4.0.3_r1  
  175.  * [new branch]      android-4.0.3_r1.1 -> origin/android-4.0.3_r1.1  
  176.  * [new branch]      android-4.0.4_r1 -> origin/android-4.0.4_r1  
  177.  * [new branch]      android-4.0.4_r1.1 -> origin/android-4.0.4_r1.1  
  178.  * [new branch]      android-4.0.4_r1.2 -> origin/android-4.0.4_r1.2  
  179.  * [new branch]      android-4.0.4_r2 -> origin/android-4.0.4_r2  
  180.  * [new branch]      android-4.0.4_r2.1 -> origin/android-4.0.4_r2.1  
  181.  * [new branch]      android-4.1.1_r1 -> origin/android-4.1.1_r1  
  182.  * [new branch]      android-4.1.1_r1.1 -> origin/android-4.1.1_r1.1  
  183.  * [new branch]      android-4.1.1_r2 -> origin/android-4.1.1_r2  
  184.  * [new branch]      android-4.1.1_r3 -> origin/android-4.1.1_r3  
  185.  * [new branch]      android-4.1.1_r4 -> origin/android-4.1.1_r4  
  186.  * [new branch]      android-4.1.1_r5 -> origin/android-4.1.1_r5  
  187.  * [new branch]      android-4.1.1_r6 -> origin/android-4.1.1_r6  
  188.  * [new branch]      android-4.1.1_r6.1 -> origin/android-4.1.1_r6.1  
  189.  * [new branch]      android-4.1.2_r1 -> origin/android-4.1.2_r1  
  190.  * [new branch]      android-4.1.2_r2 -> origin/android-4.1.2_r2  
  191.  * [new branch]      android-4.1.2_r2.1 -> origin/android-4.1.2_r2.1  
  192.  * [new branch]      android-4.2.1_r1 -> origin/android-4.2.1_r1  
  193.  * [new branch]      android-4.2.1_r1.1 -> origin/android-4.2.1_r1.1  
  194.  * [new branch]      android-4.2.1_r1.2 -> origin/android-4.2.1_r1.2  
  195.  * [new branch]      android-4.2.2_r1 -> origin/android-4.2.2_r1  
  196.  * [new branch]      android-4.2.2_r1.1 -> origin/android-4.2.2_r1.1  
  197.  * [new branch]      android-4.2.2_r1.2 -> origin/android-4.2.2_r1.2  
  198.  * [new branch]      android-4.2.2_r1.2b -> origin/android-4.2.2_r1.2b  
  199.  * [new branch]      android-4.2_r1 -> origin/android-4.2_r1  
  200.  * [new branch]      android-4.3_r0.9 -> origin/android-4.3_r0.9  
  201.  * [new branch]      android-4.3_r0.9.1 -> origin/android-4.3_r0.9.1  
  202.  * [new branch]      android-4.3_r1 -> origin/android-4.3_r1  
  203.  * [new branch]      android-4.3_r2 -> origin/android-4.3_r2  
  204.  * [new branch]      android-4.3_r2.1 -> origin/android-4.3_r2.1  
  205.  * [new branch]      android-cts-2.2_r8 -> origin/android-cts-2.2_r8  
  206.  * [new branch]      android-cts-2.3_r10 -> origin/android-cts-2.3_r10  
  207.  * [new branch]      android-cts-2.3_r11 -> origin/android-cts-2.3_r11  
  208.  * [new branch]      android-cts-2.3_r12 -> origin/android-cts-2.3_r12  
  209.  * [new branch]      android-cts-4.0.3_r1 -> origin/android-cts-4.0.3_r1  
  210.  * [new branch]      android-cts-4.0.3_r2 -> origin/android-cts-4.0.3_r2  
  211.  * [new branch]      android-cts-4.0_r1 -> origin/android-cts-4.0_r1  
  212.  * [new branch]      android-cts-4.1_r1 -> origin/android-cts-4.1_r1  
  213.  * [new branch]      android-cts-4.1_r2 -> origin/android-cts-4.1_r2  
  214.  * [new branch]      android-cts-4.2_r2 -> origin/android-cts-4.2_r2  
  215.  * [new branch]      android-cts-verifier-4.0.3_r1 -> origin/android-cts-verifier-4.0.3_r1  
  216.  * [new branch]      android-cts-verifier-4.0_r1 -> origin/android-cts-verifier-4.0_r1  
  217.  * [new branch]      android-sdk-4.0.3-tools_r1 -> origin/android-sdk-4.0.3-tools_r1  
  218.  * [new branch]      android-sdk-4.0.3_r1 -> origin/android-sdk-4.0.3_r1  
  219.  * [new branch]      android-sdk-adt_r16.0.1 -> origin/android-sdk-adt_r16.0.1  
  220.  * [new branch]      android-sdk-adt_r20 -> origin/android-sdk-adt_r20  
  221.  * [new branch]      android-sdk-support_r11 -> origin/android-sdk-support_r11  
  222.  * [new branch]      froyo      -> origin/froyo  
  223.  * [new branch]      gingerbread -> origin/gingerbread  
  224.  * [new branch]      gingerbread-release -> origin/gingerbread-release  
  225.  * [new branch]      ics-mr0    -> origin/ics-mr0  
  226.  * [new branch]      ics-mr1    -> origin/ics-mr1  
  227.  * [new branch]      ics-plus-aosp -> origin/ics-plus-aosp  
  228.  * [new branch]      jb-dev     -> origin/jb-dev  
  229.  * [new branch]      jb-mr1-dev -> origin/jb-mr1-dev  
  230.  * [new branch]      jb-mr1-dev-plus-aosp -> origin/jb-mr1-dev-plus-aosp  
  231.  * [new branch]      jb-mr1.1-dev -> origin/jb-mr1.1-dev  
  232.  * [new branch]      jb-mr1.1-dev-plus-aosp -> origin/jb-mr1.1-dev-plus-aosp  
  233.  * [new branch]      jb-mr2-dev -> origin/jb-mr2-dev  
  234.  * [new branch]      jumper-stable -> origin/jumper-stable  
  235.  * [new branch]      master     -> origin/master  
  236.  * [new branch]      master-dalvik -> origin/master-dalvik  
  237.  * [new branch]      tools_r20  -> origin/tools_r20  
  238.  * [new branch]      tools_r21  -> origin/tools_r21  
  239.  * [new branch]      tools_r21.1 -> origin/tools_r21.1  
  240.  * [new branch]      tools_r22  -> origin/tools_r22  
  241.  * [new branch]      tradefed   -> origin/tradefed  
  242.  * [new tag]         android-1.6_r1.1_ -> android-1.6_r1.1_  
  243.  * [new tag]         android-1.6_r1.2_ -> android-1.6_r1.2_  
  244.  * [new tag]         android-1.6_r1.3_ -> android-1.6_r1.3_  
  245.  * [new tag]         android-1.6_r1.4_ -> android-1.6_r1.4_  
  246.  * [new tag]         android-1.6_r1.5_ -> android-1.6_r1.5_  
  247.  * [new tag]         android-1.6_r1_ -> android-1.6_r1_  
  248.  * [new tag]         android-1.6_r2_ -> android-1.6_r2_  
  249.  * [new tag]         android-2.0.1_r1_ -> android-2.0.1_r1_  
  250.  * [new tag]         android-2.0_r1_ -> android-2.0_r1_  
  251.  * [new tag]         android-2.1_r1_ -> android-2.1_r1_  
  252.  * [new tag]         android-2.1_r2.1p2_ -> android-2.1_r2.1p2_  
  253.  * [new tag]         android-2.1_r2.1p_ -> android-2.1_r2.1p_  
  254.  * [new tag]         android-2.1_r2.1s_ -> android-2.1_r2.1s_  
  255.  * [new tag]         android-2.1_r2_ -> android-2.1_r2_  
  256.  * [new tag]         android-2.2.1_r1_ -> android-2.2.1_r1_  
  257.  * [new tag]         android-2.2.1_r2_ -> android-2.2.1_r2_  
  258.  * [new tag]         android-2.2.2_r1_ -> android-2.2.2_r1_  
  259.  * [new tag]         android-2.2.3_r1 -> android-2.2.3_r1  
  260.  * [new tag]         android-2.2.3_r2 -> android-2.2.3_r2  
  261.  * [new tag]         android-2.2.3_r2.1 -> android-2.2.3_r2.1  
  262.  * [new tag]         android-2.2_r1.1_ -> android-2.2_r1.1_  
  263.  * [new tag]         android-2.2_r1.2_ -> android-2.2_r1.2_  
  264.  * [new tag]         android-2.2_r1.3_ -> android-2.2_r1.3_  
  265.  * [new tag]         android-2.2_r1_ -> android-2.2_r1_  
  266.  * [new tag]         android-2.3.1_r1_ -> android-2.3.1_r1_  
  267.  * [new tag]         android-2.3.2_r1_ -> android-2.3.2_r1_  
  268.  * [new tag]         android-2.3.3_r1.1_ -> android-2.3.3_r1.1_  
  269.  * [new tag]         android-2.3.3_r1_ -> android-2.3.3_r1_  
  270.  * [new tag]         android-2.3.4_r0.9_ -> android-2.3.4_r0.9_  
  271.  * [new tag]         android-2.3.4_r1_ -> android-2.3.4_r1_  
  272.  * [new tag]         android-2.3.5_r1_ -> android-2.3.5_r1_  
  273.  * [new tag]         android-2.3.6_r0.9 -> android-2.3.6_r0.9  
  274.  * [new tag]         android-2.3.6_r1 -> android-2.3.6_r1  
  275.  * [new tag]         android-2.3.7_r1 -> android-2.3.7_r1  
  276.  * [new tag]         android-2.3_r1_ -> android-2.3_r1_  
  277.  * [new tag]         android-4.0.1_r1 -> android-4.0.1_r1  
  278.  * [new tag]         android-4.0.1_r1.1 -> android-4.0.1_r1.1  
  279.  * [new tag]         android-4.0.1_r1.2 -> android-4.0.1_r1.2  
  280.  * [new tag]         android-4.0.2_r1 -> android-4.0.2_r1  
  281.  * [new tag]         android-4.0.3_r1 -> android-4.0.3_r1  
  282.  * [new tag]         android-4.0.3_r1.1 -> android-4.0.3_r1.1  
  283.  * [new tag]         android-4.0.4_r1 -> android-4.0.4_r1  
  284.  * [new tag]         android-4.0.4_r1.1 -> android-4.0.4_r1.1  
  285.  * [new tag]         android-4.0.4_r1.2 -> android-4.0.4_r1.2  
  286.  * [new tag]         android-4.0.4_r2 -> android-4.0.4_r2  
  287.  * [new tag]         android-4.0.4_r2.1 -> android-4.0.4_r2.1  
  288.  * [new tag]         android-4.1.1_r1 -> android-4.1.1_r1  
  289.  * [new tag]         android-4.1.1_r1.1 -> android-4.1.1_r1.1  
  290.  * [new tag]         android-4.1.1_r1_ -> android-4.1.1_r1_  
  291.  * [new tag]         android-4.1.1_r2 -> android-4.1.1_r2  
  292.  * [new tag]         android-4.1.1_r3 -> android-4.1.1_r3  
  293.  * [new tag]         android-4.1.1_r4 -> android-4.1.1_r4  
  294.  * [new tag]         android-4.1.1_r5 -> android-4.1.1_r5  
  295.  * [new tag]         android-4.1.1_r6 -> android-4.1.1_r6  
  296.  * [new tag]         android-4.1.1_r6.1 -> android-4.1.1_r6.1  
  297.  * [new tag]         android-4.1.2_r1 -> android-4.1.2_r1  
  298.  * [new tag]         android-4.1.2_r2 -> android-4.1.2_r2  
  299.  * [new tag]         android-4.1.2_r2.1 -> android-4.1.2_r2.1  
  300.  * [new tag]         android-4.2.1_r1.1 -> android-4.2.1_r1.1  
  301.  * [new tag]         android-4.2.1_r1.2 -> android-4.2.1_r1.2  
  302.  * [new tag]         android-4.2.1_r1__ -> android-4.2.1_r1__  
  303.  * [new tag]         android-4.2.2_r1.1 -> android-4.2.2_r1.1  
  304.  * [new tag]         android-4.2.2_r1.2 -> android-4.2.2_r1.2  
  305.  * [new tag]         android-4.2.2_r1_ -> android-4.2.2_r1_  
  306.  * [new tag]         android-4.2_r1___ -> android-4.2_r1___  
  307.  * [new tag]         android-4.3_r0.9 -> android-4.3_r0.9  
  308.  * [new tag]         android-4.3_r0.9.1 -> android-4.3_r0.9.1  
  309.  * [new tag]         android-4.3_r0.9.1_ -> android-4.3_r0.9.1_  
  310.  * [new tag]         android-4.3_r0.9_ -> android-4.3_r0.9_  
  311.  * [new tag]         android-4.3_r1 -> android-4.3_r1  
  312.  * [new tag]         android-4.3_r1_ -> android-4.3_r1_  
  313.  * [new tag]         android-4.3_r2 -> android-4.3_r2  
  314.  * [new tag]         android-4.3_r2.1_ -> android-4.3_r2.1_  
  315.  * [new tag]         android-4.3_r2.1__ -> android-4.3_r2.1__  
  316.  * [new tag]         android-4.3_r2_ -> android-4.3_r2_  
  317.  * [new tag]         android-cts-2.2_r8 -> android-cts-2.2_r8  
  318.  * [new tag]         android-cts-2.3_r10 -> android-cts-2.3_r10  
  319.  * [new tag]         android-cts-2.3_r11 -> android-cts-2.3_r11  
  320.  * [new tag]         android-cts-2.3_r12 -> android-cts-2.3_r12  
  321.  * [new tag]         android-cts-4.0.3_r1 -> android-cts-4.0.3_r1  
  322.  * [new tag]         android-cts-4.0.3_r2 -> android-cts-4.0.3_r2  
  323.  * [new tag]         android-cts-4.0_r1 -> android-cts-4.0_r1  
  324.  * [new tag]         android-cts-4.1_r1 -> android-cts-4.1_r1  
  325.  * [new tag]         android-cts-4.1_r2 -> android-cts-4.1_r2  
  326.  * [new tag]         android-cts-4.2_r2 -> android-cts-4.2_r2  
  327.  * [new tag]         android-cts-verifier-4.0.3_r1 -> android-cts-verifier-4.0.3_r1  
  328.  * [new tag]         android-cts-verifier-4.0_r1 -> android-cts-verifier-4.0_r1  
  329.  * [new tag]         android-sdk-4.0.3-tools_r1 -> android-sdk-4.0.3-tools_r1  
  330.  * [new tag]         android-sdk-4.0.3_r1 -> android-sdk-4.0.3_r1  
  331.  * [new tag]         android-sdk-adt_r16.0.1 -> android-sdk-adt_r16.0.1  
  332.  * [new tag]         android-sdk-adt_r20 -> android-sdk-adt_r20  
  333.  * [new tag]         android-sdk-support_r11 -> android-sdk-support_r11  
  334.   
  335. Your identity is: jianguo liao <liaojianguo19840726@gmail.com>  
  336. If you want to change this, please re-run 'repo init' with --config-name  
  337.   
  338. repo has been initialized in /home/jianguoliao/android_source  
  339. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$   
  340. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$   
  341. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.3_r2.1  
  342. .repo/manifests/: discarding 1 commits  
  343.   
  344. Your identity is: jianguo liao <liaojianguo19840726@gmail.com>  
  345. If you want to change this, please re-run 'repo init' with --config-name  
  346.   
  347. repo has been initialized in /home/jianguoliao/android_source  
  348. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$   
  349. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$   
  350. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ touch repo_sync.sh  
  351. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ gedit repo_sync.sh   
  352. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$   


  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ chmod 777 repo_sync.sh  


执行脚本:./repo_sync.sh 就ok了,下面就是下载了,等待吧,呵呵


  1. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$   
  2. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ ls  
  3. repo_sync.sh  repo_sync.sh~  
  4. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$ ./repo_sync.sh   
  5. ======start repo sync======  
  6.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  7.                     %     To   t  a l        D lo%ad   ReUpcleoadiv e  dTot %a l X  Sfeprentd      ALvefet  raSpgeede   
  8.  ed 0       Ti 0m e    0     T   im0 e   0     0      0      0 --:--:-- --: -- :- -  - -:-Ti-:-me-      C 0urrent  
  9.                                  Dload  Upload   Total   Spent    Left  Speed  
  10.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  11.                                  Dload  Upload   Total   Spent    Left  Speed  
  12.   0     0    0     0    0     0      0      0 --:--:-- --:--:- -  --%:- -T:-o- t  a  l0    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  13.                                  Dload  Upload   Total   Spent    Left  Speed  
  14. 100     1  100     1    0     0      3      0 --:--:-- --:--:-- --:--:--     5  
  15.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  
  16. curl: (22) The requested URL returned error: 404  
  17.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  
  18. curl: (22) The requested URL returned error: 404  
  19. Server does not provide clone.bundle; ignoring.  
  20.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  
  21. curl: (22) The requested URL returned error: 404  
  22. Server does not provide clone.bundle; ignoring.  
  23. remote: Counting objects: 48, done  
  24. remote: Finding sources: 100% (48/48)  
  25. remote: Counting objects: 87, done  
  26. remote: Total 83 (delta 18), reused 83 (delta 18)  
  27. remote: Finding sources: 100% (87/87)  
  28. Unpacking objects: 100% (83/83), done.  
  29. From https://android.googlesource.com/platform/abi/cpp  
  30.  * [new branch]      ics-factoryrom-2-release -> aosp/ics-factoryrom-2-release  
  31.  * [new branch]      ics-mr0    -> aosp/ics-mr0  
  32.  * [new branch]      ics-mr0-release -> aosp/ics-mr0-release  
  33.  * [new branch]      ics-mr1    -> aosp/ics-mr1  
  34.  * [new branch]      ics-mr1-release -> aosp/ics-mr1-release  


这个看上去好舒服

  1. Fetching projects: 100% (362/362), done.    
  2. Checking out files: 100% (18349/18349), done. files:  31% (5855/18349)     
  3. Checking out files: 100% (5465/5465), done.out files:  31% (1702/5465)     
  4. Checking out files: 100% (7363/7363), done.out files:  20% (1539/7363)     
  5. Checking out files: 100% (5403/5403), done.out files:  36% (1980/5403)     
  6. Checking out files: 100% (10532/10532), done.ut files:  25% (2637/10532)     
  7. Checking out files: 100% (24603/24603), done.ut files:  40% (10050/24603)     
  8. Checking out files: 100% (19709/19709), done.ut files:   9% (1857/19709)     
  9. Checking out files: 100% (4406/4406), done. out files:  39% (1746/4406)     
  10. Checking out files: 100% (7394/7394), done.  
  11. Checking out files: 100% (1774/1774), done. out files:  11% (211/1774)     
  12. Checking out files: 100% (1386/1386), done. out files:  32% (450/1386)     
  13. Checking out files: 100% (108/108), done.ng out files:  49% (53/108)     
  14. Checking out files: 100% (431/431), done.ng out files:  10% (45/431)     
  15. Checking out files: 100% (150/150), done.  
  16. Checking out files: 100% (175/175), done.ng out files:  43% (76/175)     
  17. Checking out files: 100% (181/181), done.  
  18. Checking out files: 100% (192/192), done.ng out files:  12% (24/192)     
  19. Checking out files: 100% (378/378), done.  
  20. Checking out files: 100% (151/151), done.ng out files:  11% (17/151)     
  21. Checking out files: 100% (2407/2407), done.  
  22. Checking out files: 100% (2482/2482), done.  
  23. Checking out files: 100% (2484/2484), done. out files:  36% (901/2484)     
  24. Checking out files: 100% (177/177), done.  
  25. Checking out files: 100% (182/182), done.  
  26. Checking out files: 100% (137/137), done.  
  27. Checking out files: 100% (193/193), done.ng out files:   4% (8/193)     
  28. Checking out files: 100% (37353/37353), done.  
  29. Checking out files: 100% (26/26), done.  
  30. Checking out files: 100% (158/158), done.ng out files:   1% (2/158)     
  31. Checking out files: 100% (1141/1141), done.  
  32. Checking out files: 100% (3149/3149), done.  
  33. Syncing work tree: 100% (362/362), done.    
  34.   
  35. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$   
  36. jianguoliao@jianguoliao-Lenovo-IdeaPad-Y470:~/android_source$  
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/659507
推荐阅读
相关标签
  

闽ICP备14008679号