title: How to fix "Please fix the version conflict either by updating the version of the google-services plugin"
body: <p>I'm using Android Studio 2.3.3. I tried use Firebase RealTime Authentication in my app and I get this error:</p>
  
  <blockquote>
    <p>Error:Execution failed for task ':app:processDebugGoogleServices'.</p>
    
    <p>Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at <a href="https://bintray.com/android/android-tools/com.google.gms.google-services/" rel="nofollow noreferrer">https://bintray.com/android/android-tools/com.google.gms.google-services/</a>) or updating the version of com.google.android.gms to 10.2.0.</p>
  </blockquote>
  
  <p>My project gradle:</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'
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
          classpath 'com.google.gms:google-services:3.1.0'
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p>My module gradle:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 25
      buildToolsVersion '26.0.0'
      defaultConfig {
          applicationId "com.ccnstudent.hridoychandradas.ccnapp"
          minSdkVersion 17
          targetSdkVersion 25
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  
          multiDexEnabled true
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      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:25.3.1'
      compile 'com.android.support:design:25.3.1'
      compile 'com.android.support.constraint:constraint-layout:1.0.2'
      compile 'com.google.firebase:firebase-auth:10.2.0'
      compile 'com.google.android.gms:play-services-auth:11.0.2'
      compile 'com.android.support:support-v4:25.3.1'
      compile 'de.hdodenhof:circleimageview:2.1.0'
      compile 'com.google.firebase:firebase-database:10.0.1'
      testCompile 'junit:junit:4.12'
      compile 'com.google.android.gms:play-services:11.0.2'
  }
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>