android 源码下载
来源:互联网 发布:python源码剖析 pdf 编辑:程序博客网 时间:2024/06/05 20:34
以下内容是从官网上直接复制粘贴,有可能出现连接不上
Installing Repo
Repo is a tool that makes it easier to work with Git in the context of Android. For more information about Repo, see theDeveloping section.
To install Repo:
Make sure you have a bin/ directory in your home directory and that it is included in your path:
$ mkdir ~/bin$ PATH=~/bin:$PATH
Download the Repo tool and ensure that it is executable:
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo$ chmod a+x ~/bin/repo
For version 1.17, the SHA-1 checksum for repo is ddd79b6d5a7807e911b524cb223bc3544b661c28
For version 1.19, the SHA-1 checksum for repo is 92cbad8c880f697b58ed83e348d06619f8098e6c
For version 1.20, the SHA-1 checksum for repo is e197cb48ff4ddda4d11f23940d316e323b29671c
For version 1.21, the SHA-1 checksum for repo is b8bd1804f432ecf1bab730949c82b93b0fc5fede
For version 1.22, the SHA-1 checksum for repo is da0514e484f74648a890c0467d61ca415379f791
Initializing a Repo client
After installing Repo, set up your client to access the Android source repository:
Create an empty directory to hold your working files. If you're using MacOS, this has to be on a case-sensitive filesystem. Give it any name you like:
$ mkdir WORKING_DIRECTORY$ cd WORKING_DIRECTORY
Configure git with your real name and email address. To use the Gerrit code-review tool, you will need an email address that is connected with aregistered Google account. Make sure this is a live address at which you can receive messages. The name that you provide here will show up in attributions for your code submissions.
$ git config --global user.name "Your Name"$ git config --global user.email "you@example.com"
Run
repo init
to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest, which specifies where the various repositories included in the Android source will be placed within your working directory.$ repo init -u https://android.googlesource.com/platform/manifest
To check out a branch other than "master", specify it with
-b
. For a list of branches, seeSource Code Tags and Builds.$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
A successful initialization will end with a message stating that Repo is initialized in your working directory. Your client directory should now contain a.repo
directory where files such as the manifest will be kept.
Downloading the Android Source Tree
To pull down the Android source tree to your working directory from the repositories as specified in the default manifest, run
$ repo sync
The Android source files will be located in your working directory under their project names. The initial sync operation will take an hour or more to complete. For more aboutrepo sync
and other Repo commands, see theDeveloping section.
- Android下载Android源码
- 下载构建android源码-下载源码
- Android源码下载
- Android源码下载
- android源码下载
- android源码下载
- git 下载 android 源码
- Android 源码下载
- Android 源码下载编译
- android源码下载
- android源码下载方法
- android git 下载源码
- 如何下载android源码
- android源码下载
- android源码下载
- android源码下载
- android 源码下载
- ubuntu android 源码下载
- android 重力感应小球 Demo
- 数据管理(案例)
- MySQL中优化sql语句查询常用的30种方法
- 硬盘的读写原理
- SAP的校验和替代(validations and substitutions)
- android 源码下载
- 2016 UESTC Training for Search Algorithm & String K - 卿大爷的三个女友 KMP、跳转数组
- 根据Java对象获取里面的方法,属性
- C#+WPF+oracle 检查文件服务器上文件是否存在
- Java-集合、Map
- 简单实现滑动门
- Django框架下的HelloWorld
- Qt之StyleSheet用法
- Qt学习笔记