Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Play Services Version for Android Studio

I'm in the process of switching over to Android Studio from Eclipse. Adding GPServices to my project was pretty straight forward in Eclipse. Just make sure the latest SDK was installed in the SDK manager and copy the library into my workspace from the SDK bundle.

With AS, I have to type the following line into my module build.gradle:

compile 'com.google.android.gms:play-services:6.5.87

How am I supposed to know that 6.5.87 is the right version? My SDK manager says I have Google Play Services Rev. 22. 22 looks different from 6.5.87.

I got the 6.5.87 from some docs that didn't explain what it meant.

Can someone shed any light to this issue?

like image 357
Dean Blakely Avatar asked Jan 09 '23 21:01

Dean Blakely


1 Answers

In Android Studio, you need to download the Google Repository from the SDK Manager to get the equivalent of Google Play Services in Eclipse. And check YOUR_ANDROID_SDK_PATH\extras\google\m2repository\com\google\android\gms\play-se‌​rvices and you will be able see which versions you can use.

like image 85
Y.S Avatar answered Jan 13 '23 13:01

Y.S