The android SDK does not include the source code of the selected platform. As a result, the SDK cannot be linked to the source code of each API when developed based on the eclipse ADT. This makes most people who are used to source code development very uncomfortable, the download of source code through git recommended by Android is cumbersome, especially when the network environment is not good.
In fact, many enthusiastic netizens have packed the source code on the Internet, and they only need to download it and decompress it on Android. jar is in the sources directory, for example, I am developed based on android2.1, android. the directory where the jar is located is F:/Android-SDK-Windows/platforms/Android-7. In this directory, create a folder named sources and put the source code in it. After you open eclipse, the ADT is automatically associated with the source code.
In addition, the source code I use is