source-not-found

Sources for Android API 25 Platform not found

最近更新到android 25,直接在AndroidStudio查看源码的时候出现上面这个提示。
google找到了解决方法:

  1. Preferences -> Appearence & Behavior -> System Settings -> Android SDK
    -> Android SDK Location Edit -> next -> next 一直到完成即可

  2. 修改jdk.table.xml
    <root type="simple" url="file://D:/android/sdk/sources/android-23" />
    osx: ~/Library/Preferences/AndroidStudio/options/jdk.table.xml
    windows: C:\Users{USER_NAME}.AndroidStudio2.0\config\options\jdk.table.xml