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

Answers


In Android Studio 1.5.1 this is how I've managed to add the javadocs:

  1. Right click in Project panel > External libraries > lib-name
  2. Click Library properties
  3. Click specify documentation URL
  4. And specify an URL. For my machine it was file:///opt/android-sdk/extras/google/google_play_services/docs/reference
  5. The result was:
  6. 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 :)


Need Your Help

Entity Framework 4.1 InverseProperty Attribute

c# entity-framework-4.1 data-annotations

Just wanted to know more about RelatedTo attribute and I found out it has been replaced by ForeignKey and InverseProperty attributes in EF 4.1 RC.

How does foldr work?

haskell combinators fold

Can anybody explain how does foldr work?