

Open the file in the above options folder.Open android studio configuration options folder like this C:\Users\Jerry\.AndroidStudio2.3\config\options.If you want to change the SDK source folder manually, you can follow the below steps.Edit Android SDK Source Code Folder Manually. Restart android studio, then you can debug android SDK source code now.When the download process is complete, click the Finish button, you can find the new version SDK source code folder under the “ %ANDROID_HOME%\sources ” folder ( for example C:\Users\Jerry\AppData\Local\Android\sdk\sources ).It will show you a dialog that downloads the related SDK source code. Click the Download link at the top right corner of the prompt message.Sources for 'Android API 26 Platform' not found. class file, bytecode version: 52.0(Java 8) Choose Sources. So android studio will prompt messages like below.ĭecompile. Because your installed SDK source code version does not match the compile and target SDK version. Click the android library class method in your source code then it will direct you to the Android SDK source file code.You can also install a new version of the Android SDK source code if you can not debug the android SDK source code.

Install New Version Android SDK Source Code. After download and install it, you will find you can debug and step into android SDK source code successfully.

In the right panel, you can see the compileSdkVersion and targetSdkVersion values.

