How to attach javadoc to Google Play Services in Android Studio?
Reference documentation for com.google.android.gms:play-services can be found at <android-sdk>/extras/google/google_play_services/docs/reference but I can't figure out how to attach it in Android Studio.
Android Studio 0.8.4, Gradle Android Plugin 0.12.2
In Android Studio 1.5.1 this is how I've managed to add the javadocs:
- Right click in Project panel > External libraries > lib-name
- Click Library properties
- Click specify documentation URL
- And specify an URL. For my machine it was file:///opt/android-sdk/extras/google/google_play_services/docs/reference
- The result was:
- And after a project sync I could browse the javadoc of the google play services
A new version of the Google Play Services library was released recently: 5.2.08. If you are using an older version of the library, Android Studio will automatically offer to upgrade it to the new version. However, due to a bug, it drops the leading zero in "08", which means it replaces the dependency with "5.2.8" instead of "5.2.08" which does not work. To fix this, edit the dependency to read "5.2.08" instead of "5.2.8".
I got this information from this link.
Hope this helps :)