For people facing the same problem, the solution is in this post for Linux and in the same topic here for Windows (thanks to Aamir Abro). Basically you have to edit jdk.table.xml file for API level you are missing. I don‘t know why, but Android 2.0 and 2.1 RC don‘t have filled <root type="composite" />
in <sourcePath>
. I updated sources‘ path <root type="simple" url="file://D:/android/sdk/sources/android-23" />
and now it works.
Windows file location: C:\Users{USER_NAME}.AndroidStudio2.0\config\options\jdk.table.xml
Linix file location: ~/Library/Preferences/AndroidStudioBeta/options/jdk.table.xml