Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The quick start guide that keyboardsurfer references will work if you need to get your project to build properly, but it leaves you with a dummy google-play-services project in your Eclipse workspace, and it doesn't properly link Eclipse to the Google Play Services Javadocs.</p> <p>Here's what I did instead:</p> <ol> <li><p>Install the Google Play Services SDK using the instructions in the <a href="https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzw">Android Maps V2 Quick Start</a> referenced above, or the instructions to <a href="http://developer.android.com/google/play-services/setup.html">Setup Google Play Services SDK</a>, but <strong>do not</strong> follow the instructions to add Google Play Services into your project.</p></li> <li><p>Right click on the project in the Package Explorer, select Properties to open the properties for your project.</p></li> <li><p>(Only if you already followed the instructions in the quick start guide!) Remove the dependency on the google-play-services project: </p> <ul> <li><p>Click on the Android category and remove the reference to the google-play-services project.</p></li> <li><p>Click on the Java Build Path category, then the Projects tab and remove the reference to the google-play-services project.</p></li> </ul></li> <li><p>Click on the Java Build Path category, then the Libraries tab.</p></li> <li><p>Click Add External JARs... and select the google-play-services.jar file. This should be in [Your ADT directory]\sdk\extras\google\google_play_services\libproject\google-play-services_lib\libs.</p></li> <li><p>Click on the arrow next to the new google-play-services.jar entry, and select the Javadoc Location item.</p></li> <li><p>Click Edit... and select the folder containing the Google Play Services Javadocs. This should be in [Your ADT directory]\sdk\extras\google\google_play_services\docs\reference.</p></li> <li><p>Still in the Java Build Path category, click on the Order and Export tab. Check the box next to the google-play-services.jar entry.</p></li> <li><p>Click OK to save your project properties.</p></li> </ol> <p>Your project should now have access to the Google Play Services library, and the Javadocs should display properly in Eclipse.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload