Info: Doing J2ME years, and now basically no company used, it is time to move to the Android field.
Self-study, inevitably there will be omissions, there are problems please put forward, common learning common progress.
2014-10-13: First Edition
2014-10-14: Add the download after the interruption of the processing method, unfortunately written on the internet has no way to use, re-download only, who have the method hope to inform.
--------------------------------------------
First, the environment:
URL: https://android.googlesource.com/(Cannot access please FQ)
Tools: Git (default install)
Second, start the download
A. Create a new folder (name optional)
B. Go to the folder, right-click Git Bash here
C. Open https://android.googlesource.com/(please FQ if you can't get in)
D. Enter git clone https://android.googlesource.com/name after $
E. For example, I want to download the file under Frameworks/base, just enter
git clone https://android.googlesource.com/platform/frameworks/base
The next is a long wait, depending on its speed ~ ~
This looks like when the download is complete:
third, the small problems encountered :
If you have accidentally interrupted .... (I interrupted several times, online tried a variety of methods ineffective, crying ~) again clone will report the following error:
Error message:
Fatal:destination path '. ' already exists and is not an empty directory.
Workaround (In fact, delete the re-download, if there are other ways to tell):
LS-a rm. Git/-RF
If permission denied appears, check to see if any other programs are using the. git folder.
Android Self-study notes: Git download source code