1、查看源码的时候报这个,

android studio无法关联源码

说找不到API 23的源码

2、本地的SDK

android studio无法关联源码

3、google  stackoverflow 给出解决方案

http://stackoverflow.com/questions/36814755/sources-for-android-api-23-platfrom-not-found-android-studio-2-0

 

解决步骤,

1.找到C盘下androidStuodio的配置,我的是2.2版本

android studio无法关联源码下的 jdk.table.xml

2、修改文件内容

 <root type="simple" url="file://D:/android/sdk/docs/reference" />

改为:

<root type="simple" url="file://D:/android/sdk/source/android-23" />

3、重启AndroidStudio,问题解决

相关文章: