Android Studio关联源代码

1. 确认sdk目录下有源码文件,如果没有的话可以在sdk Manager里先下载


2.打开Android Studio,在build.gradle中设置
compileSdkVersion 14  // compile with API level 14

该方法只对   API levels 14及以上有效

http://stackoverflow.com/questions/21221679/android-studio-how-to-attach-android-sdk-sources

你可能感兴趣的:(android,源代码,关联,Studio)