Android Studio Learning----How to import new projects via GitHub URL

Source: Internet
Author: User

The premise is that you installed Git, with a GitHub account, then very simple, but after the import to Android studio will also have a variety of compilation errors, this time need to go to one by one to solve the problem, mainly refer to dependent version of the issue

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


Here are the highlights of the import project:

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

This is also very important, it is recommended that the first time to do this, you can choose the default Gradle version of the project, personally feel,

As I was using the speed of the network is not good, the second method is more slow, angry I also

Should be looking at resources, some projects in the resources are very easy to download, some I hurriedly difficult, do not know why,


There are two options, the first one is to use the default Gradle version of the project, one to use your local gradle,

Here choose the second one, 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 ...

Android Studio Learning----How to import new projects via GitHub URL

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.