4

I am about to use the new Location api in the google-play-services.jar. I found the jar but now I want to set up the source and java doc for this jar. Does anybody know what the settings should be. Do I need to download it from somewhere or its already in the sdk when I downloaded google play services. thanks.

Thupten
  • 2,158
  • 1
  • 24
  • 31

2 Answers2

6

Finally I got it worked. Here is what was need to be done. I had foolishly added the jar in libs folder of the google-play-services_lib project in Referenced Libraries. What I should have done was just edit google-play-services.jar.properties file to have path to the doc. This file is in libs folder.

I had to change the path

doc=C:/Users/thupten/adt-bundle-custom-indigo/sdk/extras/google/google_play_services/docs/reference

and then I had to remove the google play service jar from the Referenced libraries (by default its not there, I had foolishly added it).

Thupten
  • 2,158
  • 1
  • 24
  • 31
1

Download it from Android SDK Manager ie extras->Google play services

It will be present in \android-sdk-windows\extras\google\google_play_services\libproject

Create a project and add that library in your project ie right click project->Android->below that add that libproject location of google play services.

Tutorial is given here. http://www.vogella.com/articles/AndroidGoogleMaps/article.html

Shadow
  • 6,864
  • 6
  • 44
  • 93
  • I have already downloaded the jar and its in my project. I want to set the source for the google-play-service.jar. – Thupten Jun 03 '13 at 11:49