Reputation: 19996
Using Android Studio
0.3.1. In build.gradle
I add the following:
dependencies {
compile 'com.google.android.gms:play-services'
}
Reading this it seems that you need to specify a version number after the package name. But how do I know the version number?
Upvotes: 0
Views: 54
Reputation: 365028
You can check your version in this file
sdk/extras/google/google_play_services/libproject/google-play-services_lib/res/values/version.xml
Also you can check the current version here: http://gradleplease.appspot.com/
Upvotes: 1