Use git to obtain the Android Application source code

Source: Internet
Author: User
Tags using git

During development, we may need to know the host names of some services on the mobile phone, such as text messages and contacts. Therefore, we need to use the GIT tool to download the source code of the android program, the following is a brief introduction:

Git tool:

Http://code.google.com/p/msysgit/

For example:

Steps for getting source code:

1. Download the GIT tool from the above website

2. log on to the source code website.

Https://github.com/android

Find the source code of the program to be downloaded:

Search --> enter the program Keyword --> display the link of the program --> click --> get the download URL of the program source code


3. Use the GIT tool: Click to clone an existing version Library:

Sourcelocation: Enter the URL obtained from the source code website.

Targetdirectory: storage path: New

Eg:


Note:

Git1.7.7 cannot be uninstalled after installation. You can overwrite it with another version before uninstalling it.

Do not use a Chinese directory when using git; otherwise, the git gui reports an error and cannot be started. You can delete the. gitconfig file in drive C.

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.