When I use the command \'Quick Documentation\' in Android Studio in a class that comes from one of the support libraries (e.g. ActionBarActivity), the IDE does not show the
If you are not using Gradle, this will be easier for you.
Go to File -> Project Structure
. From there, on the left-hand side, select Libraries
. Select the library you want to add source/java-docs to, then click the plus at the bottom and add the source and/or java-doc jars. There's a chance AS will automatically know what's what.
If you're using Gradle, more than likely in Project Structure, you won't see the Libraries
tab, and I'm sorry but I don't know how to help from that point. If you use Gradle, AS detects that and takes away "unnecessary" options. Sorry to send you searching again, but I know there's something called a .properties
file for jars that tell the source and java-docs, but I haven't implemented it. If I can find the page that told me that information, I'll update this.
EDIT: The answer is here. This should help you out.
When Android Studio has opened the decompiled jar class, click on "Download..." blue link at top right, this will download jar with javadoc and save it in :
/.ideaLibSources
rebuild project if necessary, now doc is available. Tested on android studio 2.0 preview 4.