环境搭建
2015-12-28 10:43
127 查看
Ubuntu download : http://www.ubuntu.org.cn/download
Android source 国内镜像下载方法:https://mirrors.tuna.tsinghua.edu.cn/help/#AOSP
(参考 https://lug.ustc.edu.cn/wiki/mirrors/help/aosp 编写)
下载 repo 工具:
建立工作目录:
初始化仓库:
如果需要某个特定的 Android 版本(列表):
同步源码树(以后只需执行这条命令来同步):
Android source 国内镜像下载方法:https://mirrors.tuna.tsinghua.edu.cn/help/#AOSP
过程摘录
(参考 https://lug.ustc.edu.cn/wiki/mirrors/help/aosp 编写)下载 repo 工具:
mkdir ~/bin PATH=~/bin:$PATH curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
建立工作目录:
mkdir WORKING_DIRECTORY cd WORKING_DIRECTORY
初始化仓库:
repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest # 或 repo init -u git://aosp.tuna.tsinghua.edu.cn/aosp/platform/manifest ## 如果提示无法连接到 gerrit.googlesource.com,可以编辑 ~/bin/repo,把 REPO_URL 一行替换成下面的: REPO_URL = 'https://gerrit-google.tuna.tsinghua.edu.cn/git-repo'
如果需要某个特定的 Android 版本(列表):
repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b android-4.0.1_r1
同步源码树(以后只需执行这条命令来同步):
repo sync
相关文章推荐
- python网站检索
- iOS -- 获取当前时间,以及出现的错误
- 利用TextSwitcher实现首页的公告展示功能
- tmux terminal multiplexer
- android 文件上传表单 详解
- linux下安装oracle
- 助教博客列表-广商13级软件工程
- 以软件周期C开发周期说明不同测试的使用情况
- C#基础——加密
- jsp视频播放代码 avi
- 用reposync 同步YUM源到本地,搭建本地YUM源服务器
- 利用VBA实现多个EXCEL表格合并
- mongod副本集
- Java清除文件后添加的标志
- Qt浅谈之三:内置标准对话框
- 关于display的那些事儿!
- REST,JAX-RS与Jersey,CXF,RESTEasy之间的关系
- 【转】BAT 延迟变量
- sip协议---------阿冬专栏!!!
- jquery-ui日历插件的使用步骤