很多人都下载过下图中的 Sources for Android SDK,但是很少人知道怎么用 ![](file:///C:/Users/mao/AppData/Local/Temp/Wiz/fd51a29a-7da4-46fa-8029-01f50b83e400_128_files/em3.gif)
![](file:///C:/Users/mao/AppData/Local/Temp/Wiz/fd51a29a-7da4-46fa-8029-01f50b83e400_128_files/em3.gif)
下载完毕后可以再 Android SDK 根目录下看到 sources 文件夹内 有 android-18 的文件夹,里边就是 Android 4.3 的源码,如下图
![](file:///C:/Users/mao/AppData/Local/Temp/Wiz/fd51a29a-7da4-46fa-8029-01f50b83e400_128_files/29307783.png)
我们需要做的就是把 android-18 目录下的所有文件 拷贝 到 Adt-Bundlesdkplatformsandroid-18 中新建的 sources 文件夹内
![](file:///C:/Users/mao/AppData/Local/Temp/Wiz/fd51a29a-7da4-46fa-8029-01f50b83e400_128_files/27918235.png)
ok,that's all :)
注:转载请注明出处 :) 毕竟代码是一个一个敲出来的啊,O(∩_∩)O~