Chinaunix首页 | 论坛 | 博客
  • 博客访问: 520058
  • 博文数量: 257
  • 博客积分: 1666
  • 博客等级: 上尉
  • 技术积分: 1535
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-02 23:02
文章分类

全部博文(257)

文章存档

2013年(2)

2012年(255)

分类: Delphi

2012-09-08 11:47:38

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

    $ mkdir ~/bin $ PATH=~/bin:$PATH
  • Download the Repo script and ensure it is executable:

    $ curl > ~/bin/repo $ chmod a+x ~/bin/repo
  • 此时可能会提示链接不上,则运行如下命令替代:
  • curl > ~/bin/repo

  • 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_DIRECTORY
  • Run 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.

    $ repo init -u

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

    $ repo init -u -b android-4.1.1_r1
阅读(995) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~