title: Failed to resolve: com.google.firebase:firebase-core:9.2.1
body: <p><strong>My SDK manager says everything is upto date:</strong><br>
  Google Play Services: 33<br>
  Google Repository: 35</p>
  
  <p><strong>build.gradle content:</strong>  </p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.3"
      defaultConfig {
          applicationId "com.project.cloudmessagingdemo"
          minSdkVersion 15
          targetSdkVersion 23
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  
      packagingOptions {
          exclude 'META-INF/LICENSE'
          exclude 'META-INF/LICENSE-FIREBASE.txt'
          exclude 'META-INF/notice'
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
          exclude group: 'com.android.support', module: 'support-annotations'
      })
      compile 'com.android.support:appcompat-v7:23.4.0'
      compile 'com.google.firebase:firebase-messaging:9.2.1'
      testCompile 'junit:junit:4.12'
  }
  </code></pre>
  
  <p>Why doesn't this compile?  </p>
  
  <p><a href="http://i.stack.imgur.com/qx2Fc.png" rel="nofollow">Error image</a></p>