1. Download the source code
This part of the internet has a lot of information, I will not re-write, this is my reference article:"Windows platform Android source download "
Generally speaking, follow the above article to explain the operation on the line. But my RP poor, halfway encountered a small problem: after the installation of Msysgit on the folder after the right button does not have git bash option, how to do?
My solution: Find git bash run directly from the Start menu and use the "CD Target directory path" command to enter the directory where you want to store the source code. Of course, can also be used to visualize the Git GUI operation, but it is only the next source, with command more convenient, is not it?
2. Associating source code in eclipse
People who commonly use eclipse should also be familiar with the operations associated with source code in eclipse.
First, find the Android.jar in the project, right-click →properties
Second, select External folder to associate to external folders
Third, select the% storage source directory%/base/core/java→ok. This completes the operation of the associated source code.
Four, Ctrl-click the class name or interface name to view the source code.
Done! In the future to see the document do not understand the content will not be afraid, we can directly look at the source code! Ha ha!
Android Basic Learning-Download and associate Android source in eclipse