Chinaunix首页 | 论坛 | 博客
  • 博客访问: 629963
  • 博文数量: 140
  • 博客积分: 2635
  • 博客等级: 少校
  • 技术积分: 1353
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-04 15:46
文章分类
文章存档

2015年(2)

2014年(12)

2013年(10)

2012年(10)

2011年(85)

2010年(21)

分类: Android平台

2013-09-16 16:33:02

 

To install Repo $ mkdir ~/bin $ PATH=~/bin:$PATH 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

If couldn't download repo file, copy url to web browser. For version 1.17, the SHA-1 checksum for repo is ddd79b6d5a7807e911b524cb223bc3544b661c28

For version 1.19, the SHA-1 checksum for repo is 92cbad8c880f697b58ed83e348d06619f8098e6c

Initializing a Repo client


After installing Repo, set up your client to access the Android source repository Create an empty directory to hold your working files. If you're using MacOS, this has to be on a case-sensitive filesystem. Give it any name you like:$ mkdir WORKING_DIRECTORY $ cd WORKING_DIRECTORYRun repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest, which specifies where the various repositories included in the Android source will be placed within your working directory.

  1. $ repo init -u https://android.googlesource.com/platform/manifest

    To check out a branch other than "master", specify it with -b:

    http://blog.chinaunix.net/blog/post.html$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1


阅读(1143) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~