文章标题
来源:互联网 发布:顺丰机打运单软件 编辑:程序博客网 时间:2024/05/18 03:51
Android开发环境搭建
- 下载repo工具
mkdir ~/binPATH=~/bin:$PATHcurl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo## 如果上述 URL 不可访问,可以用下面的:## curl https://storage-googleapis.proxy.ustclug.org/git-repo-downloads/repo > ~/bin/repochmod a+x ~/bin/repo
- 然后建立一个工作目录(名字任意)
mkdir WORKING_DIRECTORYcd WORKING_DIRECTORY
- 初始化代码仓库
repo init -u git://mirrors.ustc.edu.cn/aosp/platform/manifest## 如果提示无法连接到 gerrit.googlesource.com,可以编辑 ~/bin/repo,把 REPO_URL 一行替换成下面的:## REPO_URL = 'https://gerrit-googlesource.proxy.ustclug.org/git-repo'
- 选择特定版本初始化
这里写代码片repo init -u git://mirrors.ustc.edu.cn/aosp/platform/manifest -b android-4.0.1_r1//android-2.3.1_r1repo init -u git://mirrors.ustc.edu.cn/aosp/platform/manifest -b android-2.3.1_r1
- 同步源代码
repo sync
install git
这里写代码片sudo apt-get install git
参考文章:
知呼:如何在中国下载Android源码:
https://www.zhihu.com/question/20738613
AOSP科大
https://lug.ustc.edu.cn/wiki/mirrors/help/aosp
0 0
- 文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题 文章标题 文章标题 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- 文章标题
- dos窗口中虚拟机的IP可以ping通,ping主机名不能ping通
- 【图论入门】城市平乱
- [BZOJ4199][NOI2015]品酒大会(后缀数组+单调栈+ST表)
- LoadRunner中的 并发用户与集合点设置的关系
- 作家、文学大家、大师的艺术风格
- 文章标题
- 图解正向代理、反向代理、透明代理
- TCP 11种状态
- 蓝桥杯第五届省赛(热身)
- debain 截图工具 实用的
- 发送一个消息到邮箱中,OSMboxPost()
- C++模板实现二叉树(五 树的平衡之dsw算法)
- 全栈必备 JavaScript基础
- eclipse 使用recycleView基础配置和使用