I'm trying to update an old project that uses GMS libraries. However, Gradle sync fails to refresh the project, giving the error mentioned in the title.

This is what the build.gradle looks like:

```
project(":android") {
    apply plugin: "android"
    apply plugin: 'com.android.application'

    configurations { natives }

    dependencies {
        compile project(":core")
        compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
        compile "com.google.android.gms:play-services:7.0.0"
    }
}

```

And the error is:

```
Error:Could not find com.google.android.gms:play-services:7.0.0.
Searched in the following locations:
    file:/C:/Users/Harri/.m2/repository/com/google/android/gms/play-services/7.0.0/play-services-7.0.0.pom
    file:/C:/Users/Harri/.m2/repository/com/google/android/gms/play-services/7.0.0/play-services-7.0.0.jar
    https://repo1.maven.org/maven2/com/google/android/gms/play-services/7.0.0/play-services-7.0.0.pom
    https://repo1.maven.org/maven2/com/google/android/gms/play-services/7.0.0/play-services-7.0.0.jar
    https://oss.sonatype.org/content/repositories/snapshots/com/google/android/gms/play-services/7.0.0/play-services-7.0.0.pom
    https://oss.sonatype.org/content/repositories/snapshots/com/google/android/gms/play-services/7.0.0/play-services-7.0.0.jar
    https://oss.sonatype.org/content/repositories/releases/com/google/android/gms/play-services/7.0.0/play-services-7.0.0.pom
    https://oss.sonatype.org/content/repositories/releases/com/google/android/gms/play-services/7.0.0/play-services-7.0.0.jar
Required by:
CarGame-refresh:android:1.2

```

I've installed and updated all the required stuff in the SDK manager:

![enter image description here](https://i.stack.imgur.com/wSzCx.png)

It should be noted that this project was originally an Eclipse project which I imported to Android Studio just now.

EDIT: It seems that Gradle doesn't look the correct directory for GMS. It's installed in the SDK path, though. It seems that the problem here is very similar to [this unsolved question](https://stackoverflow.com/questions/27551618/gradle-can-not-find-google-play-dependency).