Where is spring and Android source code.

Source: Internet
Author: User

Install git and curlRun the following command in the terminal window:

sudo apt-get install git-core curl

 

Install the repo script

curl http://android.git.kernel.org/repo >~/repo

 

Give repo executable permissions

chmod a+x ~/repo

Create a directory named mydroid and enter the Directory

mkdir mydroid
cd mydroid
Repo Initialization
~/repo init -u git://android.git.kernel.org/platform/manifest.git

Enter the name and email address, and select the test color. Finally, you will receive a message similar to "Repo initialized in/home/nebulayao/mydroid", indicating that the initialization is successful.

 

Repo Synchronization

~ /Repo sync

 

 

Okay, because there are about 2 GB of data to be downloaded, so you can go out for a meal at the waiting time.

 

Finally, you can see the following syncing work tree: 100%. Done indicates that the download is complete.

 

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.