Skip to content

Starting with Google Play Game Services

Janzku edited this page Dec 11, 2014 · 4 revisions

To use advertisements, achievements and others supported by Google Play Game Services, you will have to install and link Google Play Services library to your eclipse project.

NOTE: GoogleAnalytics doesn't work with newest Google Play Services. (Somehow get 6.1 instead)

Some other features might require also Android Support Library to use, i.e. Google Analytics.


  • First you will be required to install Android Support Library and Google Play services with Android SDK Manager, before we can continue.
  • You will find required jar-file in your android sdk installation path.

..\android-sdk\extras\android\support\v4 for android-support-v4.jar

  • Copy it into your android project libs folder.
  • On eclipse go to File->Import->Existing Android Code Into Workspace

C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib

  • On your eclipse project, open your project properties.
  • Go to Android and add google-play-services_lib.
  • Go to Java Build Path to ensure you have required jar-files in Libraries (Android Private Libraries).
  • If there is no jar-files, then add them with Add JARs...
  • Finally go to Order and Export and put check mark on Android Private Libraries, if there weren't one already, or alternatively if you had to add JARs manually, check them to activate them.
Clone this wiki locally