如何克隆Android marshallow

时间:2016-05-19 08:26:35

标签: android git android-source repo

我正在尝试克隆Android Marshallow的源代码 来自link。 在

部分
Initializing a Repo client

第三点 运行repo init以关闭最新版本的Repo及其最新的bug修复。 您必须指定清单的网址,该网址指定Android源中包含的各种存储库将放置在您的工作目录中的位置

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

所以我提供了清单

的网址
$ repo init -uhttps://android.googlesource.com/platform/manifest/+/refs/heads/android-6.0.1_r9 

然后我得到了这个

gpg: keyring `/home/shyam/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/shyam/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/shyam/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
gpg: key 692B382C: public key "Conley Owens <cco3@android.com>" imported
gpg: Total number processed: 2
gpg:               imported: 2  (RSA: 1)

Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
remote: Finding sources: 100% (15/15)
remote: Total 15 (delta 1), reused 15 (delta 1)
Unpacking objects: 100% (15/15), done.
From https://gerrit.googlesource.com/git-repo
   79fba68..8b39fb4  master     -> origin/master
Get https://android.googlesource.com/platform/manifest/+/refs/heads/android-6.0.1_r9
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found

0 个答案:

没有答案