title: Failed to resolve: com.google.firebase:firebase-core:11.2.0
body: <p>I'm getting multiple "Failed to Resolve" issues when syncing my project. They are all firebase and play-services related. I made sure they are all the same (11.2.0). I've also checked and the latest version for both is 11.2.0. Also, all the other answers to similar questions involve updating Google play services and repository in the SDK Manager but mine is already up to date. </p>
  
  <p><a href="https://i.stack.imgur.com/nH38c.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/nH38c.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/RsBUT.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/RsBUT.jpg" alt="enter image description here"></a></p>
  
  <p>Any idea why I can't sync my project?</p>
  
  <p><strong>EDIT - Current working solution</strong></p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:2.3.3'
          classpath 'com.google.gms:google-services:3.0.0'
          classpath 'com.google.firebase:firebase-plugins:1.0.4'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
          maven { url "https://maven.google.com" } 
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>