title: Could not find com.google.android.gms:play-services:7.0.0
body: <p>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.</p>
  
  <p>This is what the build.gradle looks like:</p>
  
  <pre><code>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"
      }
  }
  </code></pre>
  
  <p>And the error is:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>I've installed and updated all the required stuff in the SDK manager:</p>
  
  <p><img src="https://i.stack.imgur.com/wSzCx.png" alt="enter image description here"></p>
  
  <p>It should be noted that this project was originally an Eclipse project which I imported to Android Studio just now.</p>
  
  <p>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 <a href="https://stackoverflow.com/questions/27551618/gradle-can-not-find-google-play-dependency">this unsolved question</a>.</p>