Eclipse has at least several methods to associate the andorid source code. As the SDK is updated, the following is the most concise
Prepare the source code. No, go to the next page. There are packages prepared by others on the Internet. We recommend that you use the official source code.
In Linux:
1. Go to the SDK's **/platforms/Android-*/platform directory,
Mkdir sources
Create source code directory
2. Go to sources
Ln-S/work/and2.2 _ source/frameworks/base/CORE/Java/com-T./COM
Ln-S/work/and2.2 _ source/frameworks/base/CORE/Java/Android-T./android
Create a symbolic link.
OK.
Note:/work/and2.2 _ source/frameworks/base/CORE/Java/is my source code Directory, which contains two folders: Android and COM, corresponding to two Android Development kits.
Windows:
Tool address for creating symbolic links 1. http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
Address 2. http://mineral.javaeye.com/blog/512377
Junction is ln-s in windows.
Usage:
To create a junction C:/Program-files for "C:/Program Files ":
C:/> MD Program-Files
C:/> junction C:/Program-Files "C:/Program Files"
Download the attachment to C:/wondows/system32. Run the preceding command to create a link,
Similarly, establish a link between Android and COM.
I won't be embarrassed about how to operate it!
OK!