Android L Download

Source: Internet
Author: User

Android L awaited finally come out, then we first download a glimpse for fast, then how to get the newest branch of L
That follow the Fool steps summarized under (Linux Ubuntu)
1. Get the Repo file
(1). Curl Https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
(2). chmod a+x ~/bin/repo
(3). Export Path=~/bin: $PATH


Curl is a tool to launch network requests under Linux with a command to get the repo file location directly into the system path


2. Get source code with repo
(1). mkdir src && cd src
(2). Repo Init-u https://android.googlesource.com/platform/manifest
(3). Repo Sync
The code above gets the master code


If you want to get the code for a branch separately
(1). mkdir src && cd src
(2). Repo init-u https://android.googlesource.com/platform/manifest-b android-5.0.0_r2
(3). Repo Sync


If you already have an Android repository but are not up-to-date, you want to switch to Androidl branch
(1). cd. repo/manfiests && git branch-a | Cut-d/F 3
android-4.4.4_r2.0.1
Android-4.4_r1
android-4.4_r1.0.1
android-4.4_r1.1
android-4.4_r1.1.0.1
android-4.4_r1.2
android-4.4_r1.2.0.1
Android-4.4w_r1
Android-5.0.0_r1
ANDROID-5.0.0_R2
(2). Select ANDROID-5.0.0_R2 according to the list above
Repo Init-b android-5.0.0_r2
(3). Repo Sync
(4). Switch All to ANDROID-5.0.0_R2 branch
Repo Start android-5.0.0_r2--all
(5). Repo Branches
* android-5.0.0_r2 | In all projects
(6). CD EXTERNAL/JSMN && git branch
* ANDROID-5.0.0_R2


3. How to build a local warehouse to facilitate the use of people around
To create a local warehouse from the server fetch code
(1). Mkdir-p ~/aosp/mirror
(2). CD ~/aosp/mirror
(3). Repo Init-u https://android.googlesource.com/mirror/manifest--mirror
(4). Repo Sync


Get code from local mirror
(1). Mkdir-p ~/aosp/master
(2). CD ~/aosp/master
(3). Repo Init-u/home/username/aosp/mirror/platform/manifest.git
(4). Repo Sync


Synchronizing local mirror and local code repositories
(1). CD ~/aosp/mirror
(2). Repo Sync
(3). CD ~/aosp/master
(4). Repo Sync



Contact information:
[email protected]
qq:390012381
Reprint Please specify source: http://blog.csdn.net/lihui130135

Android L Download

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.