Android Studio: cannot upgrade google play services

184 views Asked by At

I have tried download the latest version on the sdk manager, but is still not working. I have seen other posts telling users to enter the following...

compile 'com.google.android.gms:play-services:4.2.+'

I do not understand where to enter it. I tried in the terminal feature of the android studio but it gives me a bash "command not found" error.

if it matters I am trying to implement the example maps that android studio gives you when you begin a new project.

1

There are 1 answers

4
Jorgesys On BEST ANSWER

If you are using Android Studio open the build.gradle file and enter inside dependencies

dependencies {
    compile 'com.google.android.gms:play-services:4.2.+'
}

more info Add Google Play Services to Your Project