Download Android source code

Source: Internet
Author: User

Http://source.android.com/source/downloading.html

1. Download repo

Official website: Curl http : //commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

I can't download anything at the moment.

Another source was found, but if repo download is incorrect, it will prompt "GPG: Unable to check signature: Public key not Found"

Curl http://git-repo.googlecode.com/files/repo-1.13 > ~/bin/repo
sudo chmod a+x ~/bin/repo

2. Initialize the branch

Download all branch information and request the configuration of the mailbox and user name halfway

After the download is complete, you can go to the. repo/manifests directory git branch-a view

Repo Init - u https : //android.googlesource.com/platform/manifest

Switch branches

Repo Init-b android-4.4.2_r2

3. Download the Code

Repo Sync-j4 open four thread under

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.