升级API到25之后关联源码失败,即使提示了download源码也还是无法看到
解决:找到 C:\Users\{用户名}\.AndroidStudio2.2\config\options目录下的 jdk.table.xml , 打开它。
本来是这样的

在 sourcePath 那里这样写
  <sourcePath>
              <root type="composite">
                <root type="simple" url="file://D:/Program/Android/studio-sdk/sources/android-25" />
              </root>
          </sourcePath>
url是你对于版本源码的地址

然后重新打开你先看的源码,好了,可以了
原文:http://www.cnblogs.com/xinge1993/p/6517286.html