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?
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-services
and you will be able see which versions you can use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With