title: ERROR: Failed to resolve: com.google.firebase:firebase-core:
body: <p>Gradle sync fails while trying to build the firebase app!</p>
  
  <blockquote>
    <p>ERROR: Failed to resolve: com.google.firebase:firebase-core:<br>
    Affected Modules: firebase_core</p>
  </blockquote>
  
  <p>This is my project-level build.gradle</p>
  
  <pre><code>buildscript {
      repositories {
          google()
          jcenter()
      }
  
      dependencies {
          classpath 'com.android.tools.build:gradle:3.3.2'
          classpath 'com.google.gms:google-services:4.2.0'
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  </code></pre>
  
  <p>and app level build.gradle dependencies</p>
  
  <pre><code>dependencies {
      implementation 'com.google.firebase:firebase-core:16.0.8'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  }
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>EDIT: 
  The error seems to be due to Flutter Firebase_auth plugin!</p>