Project hangs on the Oschina (GitHub is same) on, did not try to clone down, clone down after found a lot of error, a time to solve, tried a lot of times, finally fix, again from beginning to end to do again, and recorded, as follows: (Total 24 pictures)
0. Environment for Window7+android studio1.0
1. Install the tortoisegit and git environment and download and install them according to the actual system.
2. There are already repository on Oschina or GitHub.
3. Create a new folder locally, right-click to find Git Clone,
4. Fill in the URL with repository address, end with Git, select the Clone directory, OK,
5, fill in the username,
6, fill in the password,
7,checkout after the folder,
8, open Android studio1.0,
9, choose Open an existing Android Studio project,
10. Select the main project folder in the Git folder (the folder with the project files),
11, found on the left what all wood has, found that the view shows Android,
12. Turn the view's Android into project,
13, open Project structure,
14, in Project Select SDK for Android API 21 or other, if you do not see the Android SDK, on the left of the SDKs settings,
15, choose the Android SDK after the effect,
16, set the output to the Out folder in the Git folder in project,
17, click on the + sign in facets, add an Android,
18, select the correct module, OK,
19, select module in modules, select Src folder, point sources, then select Res folder, point resources,
20. Click Reset Paths to defaults in the modules specific module's Android sub-option, as the path to the structure is found with a. Idea, if this step is not executed, will appear 1) idea Error:an Droid Source Generator: [...] Androidmanifest.xml file not found 2) no R files found
21, press OK, click Edit Configurations
22, click on the + sign, add an android application,
23, set name, select the main module to start, set the target Device to Show Chooser Dialog,
24, check the Libs, if there is a jar package, some right-click Add as Library,
25, the last open project will look like this, no error, really happy,
26, running, and finally appearing choose Device,success,
PS: A lot of pictures, have been drunk
Android Studio cloning git project and setting up the whole process of the project