Download the Android system source code

Source: Internet
Author: User

Refer toArticleIs summarized as follows:

1. System Environment: ubuntu10.10-64bit

 

2. Install git

 
$ Sudo apt-Get install Git-core

3. Install curl

 
$ Sudo apt-Get install Git-core curl

4. Create a repo directory, open the command line, and enter

 
$ Mkdir ~ /Bin $ Path = ~ /Bin: $ path

5. Click this URL to download the latest repo script.

My repo-1.14, saved in the bin directory created in the previous step, renamed as repo.Note:At first, I always couldn't get the repo script resources according to what I did on the Internet. I said the connection failed. The major reason is that the version number is changing and the previous version is gone, therefore, you can only view the latest one on the Internet by yourself.In addition:I did not do anything about replacing HTTPS with HTTP on the Internet. I did not do anything about it. I did everything I did on Google Android, as long as the repo writes are consistent with the following command line input.

6. Set repo Permissions

$ Chmod A + x ~ /Bin/Repo

7. CreateSource codeStored project path

 
$ Mkdir working_directory $ CD working_directory

8. Start download SourceCodeRight

 
$ Repo init-u https://android.googlesource.com/platform/manifest
 
$ Repo sync

Refer:

1. Perfect download of Android system source code

2. Google Android: downloading the source tree

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.