2010-12-03 51 views

回答

10

https://source.android.com/source/downloading#installing-repo

$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 
$ chmod a+x ~/bin/repo 
$ mkdir working-directory-name 
$ cd working-directory-name 
$ repo init -u git://android.git.kernel.org/platform/manifest.git 

权威说明

2
+0

大卫您好, 无法使用以下命令初始化回购客户端。 $ repo init -u git://android.git.kernel.org/platform/manifest.git并试图使用 repo init -u https://android.googlesource.com/platform/manifest 但无法正常工作。最新的URL初始化repo在哪里? – Sharath 2017-10-19 04:06:32

1

回购包含在phablet-tools包,它可从如果您正在使用的Ubuntu 16.04,只需要使用命令行从14.04

1

开始的Ubuntu发行版的官方包库:

sudo apt get install repo -y

相关问题