title: Android Studio refuses to accept that Google Repository is installed
body: <p>I am trying to get AdMob running. But for some strange reason, I can not get Android Studio to accept that the Google Repository is installed.
  Thing is, it is installed in the SDK manager. And reinstalled multiple times now. Project Structure SDK path is the same as in Android SDK Manager.</p>
  
  <p>When I mouse over the <code>compile 'com.google.android.gms:play-services:6.+'</code> line in my build.gradle, I get this tooltip:</p>
  
  <pre><code>"Dependency on Play Services, but the SDK installation does not have the "Extras &gt; Google Repository" installed. Open the SDK manager and install it"
  </code></pre>
  
  <p>When I try to compile, this error: </p>
  
  <pre><code>Error:Failed to resolve: com.google.android.gms:play-services:6.+
  </code></pre>
  
  <p>With that error comes a link to install the Repository, which I used multiple times now. Android Studio does not care. Help.</p>
  
  <p>edit: When I use a fresh empty project, it works, and Android Studio finds the Repository. No clue what is going on here.</p>