First, download the source code of the latest Android version. It is not easy to download the source code from Google .. Uploading is not easy.
In order to provide a convenient Download Method for users who want to earn extra money from Android development just like me,
This is my official source code for using repo In ubuntu. Decompress the package in a separate folder.
Then, in the Android. jar package of Eclipse, only the path is directly set to this folder by associating the source code.
You can associate all source code, including the framework of frameworks, third-party jar packages, and j2se source files.
If you have time, the source code of other versions such as 2.2 will be uploaded.
Unzip this 82 MB file to decompress all files), the following is the download link of the donkey
Android2.2.zip
Ed2k: // | file | android2.2.zip | 84240562 | bb07d493f6782b929e25c0a8ec2881ea | H = psau43drb72noqc5khidvcrwo4jqudimethyl |/
Android2.2.z01
Ed2k: // | file | android2.2.z01 | 734003200 | f722cecc692c04102e7485ff4684822e | H = 5fatmhfgcoezewfrxg3gn3sb2kgolr2j |/
Android2.2.z02
Ed2k: // | file | android2.2.z02 | 734003200 | 7deb3d3024337e84c5fa3b58aaf31680 | H = chcytnh3oe7qnmqd24u3ar5ctevnyamw |/
Android2.2.z03
Ed2k: // | file | android2.2.z03 | 734003200 | b0a22488336f832419c25e19b5ae935c | H = t63uiz3rf4wu4yp3glrkjqwatgncr2sw |/
Android2.2.z04
Ed2k: // | file | android2.2.z04 | 734003200 | 38eee114b6476a854b2472dec6717a22 | H = nkef55eohkvgx4wurcg46vxjz5sqjc6b |/
Android2.2.z05
Ed2k: // | file | android2.2.z05 | 734003200 | b229f75bbaa532f0fa1_2330745ed27 | H = xujot3lgp3dm4fndkiknbvv3f6l3pmam |/
Android2.2.z06
Ed2k: // | file | android2.2.z06 | 734003200 | 62a1ad93eb4049d336f43bad8792d17f | H = owvpb7mkdl73uciwqdxanrwqepvivco6 |/
Android2.2.z07
Ed2k: // | file | android2.2.z07 | 734003200 | e80bde706e5de61a48836b9084b59330 | H = fe4je6f5yrkln2ww4vhxxdlgw4agh2c4 |/
Android source code (2.3.5)
Http://www.simplecd.org/id/2906182
Source-insight-view large-scale project source code
If you just want to read or write a small application, this is certainly not as good as ultraedit, but you want to manage hundreds or thousands of code, you 'd better think about it, at this time, ultraedit can only be helpless or poor. Do you want to say that there are so many files to be managed? In fact, the simplest and most extensive Linux kernel is a typical example. The decompressed code is several hundred mb. What do you think? To be honest, when I first did not know the software, it was a directory, a file, and a file.
However, you need to know that you really need perseverance to flip through directories and files. Another is to find a file, and you have to use find again. To find a function, you still have to have search, or use grep. Then you want to know who calls a function, but you have no way to start. Then you want to know how a variable is changed, and you still need to make great efforts. So, let's get rid of these jobs. Using source insight may reduce your burden.
When I looked at the android source code tree, I used eclipse, which was quite useful at the time. However, it was found that eclair could not be imported to eclipse. Well, I also thought that eclipse could not be a good reader of C code, so use sourceinsight. After all the data is imported and synchronized, it seems that sourceinsight looks better at the source code tree than eclipse, especially the code of C and C ++ is almost seen recently. In fact, it is also better for Java code. You can jump between codes to quickly locate the desired files. Although not all files can be located, it is better than eclipse.
We recommend that you sync the code when you look at the source code so that you can jump to it. Although it takes a lot of time to sync, it takes a lot of disk space. However, for disks, 1 GB is always relatively small. For time, it takes this time, it will be convenient in the future. And this software is still free of charge. At first we saw that the software recommendation was on the IBM development website ~ What IBM recommends can also be trusted.