It’s very difficult not to have API 26 sources, but they should appear shortly after the release of Android O next week. At the moment, I have found the following solution on Reddit , which allows you to use sources for API 25. I think you need to run the following command.
cd SDK/sources
cp -R android-25 android-26
cd android-26
vi/emacs/nano package.xml
vi/emacs/nano source.properties
Then restart Android Studio. I have not tried it myself, but I hope this helps you.
source
share