admin 管理员组文章数量: 1184232
一、
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
二、
vim ~/bin/repo
修改点:
REPO_URL = 'https://aosp.tuna.tsinghua.edu/git-repo' #REPO_URL = 'https://gerrit.googlesource/git-repo'
#!/usr/bin/env python
# repo default configuration
#
import os
REPO_URL = os.environ.get('REPO_URL', None)
if not REPO_URL:
REPO_URL = 'https://aosp.tuna.tsinghua.edu/git-repo' #REPO_URL = 'https://gerrit.googlesource/git-repo'
REPO_REV = 'stable'
# Copyright (C) 2008 Google Inc.
三、
如果需要某个特定的 Android 版本(列表):
https://source.android/source/build-numbers.html#source-code-tags-and-builds
#~/bin/repo init -u https://aosp.tuna.tsinghua.edu/platform/manifest -b android-5.0.2_r1
#~/bin/repo sync
版权声明:本文标题:清华镜像 Android各个版本下载 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1766226704a3445810.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论