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