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

全部博文(257)

文章存档

2013年(2)

2012年(255)

分类: Delphi

2012-09-08 14:19:56

原文地址:

I will describe another way to get the Android source codes if you hadn’t already cloned it’s repo before kernel.org servers went down.

Prepare the environment

First, you need to download “repo” script from kernel.org my blog (please, enclose the URL address in double quotes):

curl "" > ~/bin/repo chmod a+x ~/bin/repo PATH=~/bin:$PATH
Download the Android repository

Now, you can safely download the repository, like so:

mkdir WORKING_DIRECTORY cd WORKING_DIRECTORY repo init -u git://codeaurora.org/platform/manifest.git -b gingerbread repo sync

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