How to import a GitHub project with Androidstudio

Source: Internet
Author: User

Recently has been studying Androidstudio, but there will always be such a problem, especially on GitHub to see a very good open source project, want to clone down with use, there would be a lot of egg pain problems, today groping, combined with some of the suggestions of the Daniel, the realization of the lightly loose, Let the problem of the egg ache to androidstudio oneself to solve it ....
The first step:
Your computer first to have git and androidstudio, no words hurriedly go down, before my blog also has development tools, here I will when you have, direct start.
Step two: Open studio to find the Settings page

Put the GIT path you installed in the second step and click OK.
Step three: You need to have a GitHub account, and here I'll take that as you have, and then make the following configuration

Follow step-by-step, click Test to prove that your GitHub and git have been configured successfully when this interface appears

Fourth Step: Configure the project address you want to clone.

When you click on GitHub, it will look like this

Here's the address where you want clone.
then click Clone.

You'll see this page in a minute, then click Yes
This page will appear

There are two options, the first one is to use the default Gradle version of the project, one is to use your local gradle, I chose the second one here, so that you do not have to download, download, you know. Then click OK, and wait just fine.

This looks like it proves you're successful.
According to personal preferences, choose a good one in the current window to open this project, one is to open this project in a new window
When you're successful, in your tool-bar VCS

There will be a series of operations on Git, and pull,push,add can be done here.
These two are pull, one is push, or you can

OK, run it is not very hi leather ah ...
If you have any questions, please leave a message.

How to import a GitHub project with Androidstudio

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.