title: Could not find com.google.gms:google-services:4.0.1
body: <p>Hi i started a new project in android and imported firebase as told in google docs. 
  Everything was perfect in Android studio 3.0.1. 
  Now i update my Android studio to 3.2.1. Now the same code is rebuild and got error that </p>
  
  <blockquote>
    <p>Could not find com.google.gms:google-services:4.0.1</p>
  </blockquote>
  
  <p>Log was:</p>
  
  <pre><code>Could not find com.google.gms:google-services:4.0.1.
  Searched in the following locations:
      file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
      file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
      https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
      https://jcenter.bintray.com/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
      https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.pom
      https://dl.google.com/dl/android/maven2/com/google/gms/google-services/4.0.1/google-services-4.0.1.jar
  Required by:
      project :
  </code></pre>
  
  <p>My Project Level Gradle is:</p>
  
  <pre><code>buildscript {
  
      repositories {
          jcenter()
          google()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.2.1'
          classpath 'com.google.gms:google-services:4.0.1'
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
          google()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p>App level Gradle is:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 27
      defaultConfig {
          applicationId "com.arafa.sms"
          minSdkVersion 21
          targetSdkVersion 27
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:27.1.0'
      implementation 'com.android.support:support-v4:27.1.0'
      implementation 'com.android.support:animated-vector-drawable:27.1.0'
      implementation 'com.android.support:support-media-compat:27.1.0'
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
      implementation 'com.google.code.gson:gson:2.6.2'
      implementation 'com.squareup.okhttp3:okhttp:3.3.1'
      implementation 'com.google.firebase:firebase-core:16.0.1'
  }
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>What is the issue here! Please help me out!</p>