title: GoogleApiClient for Google Login
body: <p>I've researched for a while and have found nothing that helps.  I am almost done with my app and i wish to add Google Login features.  I'm not asking for anyone to right my code for me.  I just need to be pointed in the right direction.  Every website, including the android developer website, has been no help.  Any help from you is appreciated.  Again, I only need to be pointed in the right direction, not have my code written for me.</p>
  
  <p>Did what the answer told me to and got this error code. First it told me to change to 10.2.1, then 9.0.0:</p>
  
  <p>Error:Execution failed for task ':app:processDebugGoogleServices'.</p>
  
  <blockquote>
    <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 9.0.0.</p>
  </blockquote>
  
  <p>Here's my Gradle file:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  signingConfigs {
      config {
          keyAlias 'cm'
          keyPassword 'cr3101120$$'
          storeFile file('C:/Users/Carter/AndroidStudioProjects/ColorMatch/release.jks')
          storePassword 'cr3101120$$'
      }
  }
  compileSdkVersion 25
  buildToolsVersion "25.0.2"
  defaultConfig {
      applicationId "carsquared.colormatch"
      minSdkVersion 19
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      vectorDrawables.useSupportLibrary = true
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          zipAlignEnabled true
      }
      debug {
          signingConfig signingConfigs.config
          zipAlignEnabled true
      }
  }
  productFlavors {
  }
  }
  
  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'
  })
  apply plugin: 'com.google.gms.google-services'
  compile 'com.android.support:appcompat-v7:25.3.1'
  compile 'com.android.support:support-v4:25.3.1'
  compile 'com.android.support:support-vector-drawable:25.3.1'
  compile 'com.android.support.constraint:constraint-layout:1.0.2'
  compile 'com.google.firebase:firebase-messaging:10.2.6'
  compile 'com.google.android.gms:play-services-auth:10.2.6'
  compile 'com.android.support:design:25.3.1'
  testCompile 'junit:junit:4.12'
  
  }
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>Here's the main 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.2'
      classpath 'com.google.gms:google-services:3.0.0'
  
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
  }
  }
  
  allprojects {
  repositories {
      jcenter()
  }
  }
  
  task clean(type: Delete) {
  delete rootProject.buildDir
  }
  </code></pre>