repo简单使用
来源:互联网 发布:mac怎么设置默认系统 编辑:程序博客网 时间:2024/06/08 06:52
下载repo
#访问不了google,所以从github下载镜像git clone https://github.com/android/tools_repo.git #我用的是ubuntu15.10,直接用apt-get下载就可以了sudo apt-get install repo
修改REPO_URL
REPO_URL = 'https://gerrit.googlesource.com/git-repo'REPO_URL = 'https://gerrit-google.tuna.tsinghua.edu.cn/git-repo'
初始化版本库
mkdir workspace && cd workspacerepo init -u https://android.googlesource.com/platform/manifest#使用清华大学 AOSP 镜像repo init -u git://aosp.tuna.tsinghua.edu.cn/aosp/platform/manifest#如果只需要某个分支repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b android-6.0.1_r9
同步源码树(以后只需执行这条命令来同步):
repo sync
参考
- http://source.android.com/source/using-repo.html
- https://mirrors.tuna.tsinghua.edu.cn/help/#AOSP
- http://source.android.com/source/downloading.html
- repo about .git/HEAD: error: manifest missing or unreadable
0 0
- Repo-git简单使用
- repo简单使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- repo使用
- 简单学习:repo入门
- repo的简单介绍
- 尺度空间原理
- bash 的进站与欢迎讯息: /etc/issue, /etc/motd
- C++ 2010 与MATLAB2014a混合编程教程(1)
- poj-1062-昂贵的聘礼
- JavaScript实现拖拽预览,AJAX小文件上传
- repo简单使用
- Android开发问题笔记
- WebService学习总结(零)-自己学习
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- python 之 MySQLdb2
- MVP模式
- 安装配置tomcat,java运行环境
- LINUX达人计划--1
- 控制Toast的显示位置