title: Google Play Services GCM 9.2.0 asks to "update" back to 9.0.0
body: <p>So this morning I started updating to the latest version of my project libraries.</p>
  
  <p>I'm trying to update GCM to the latest version 9.2.0, but I get this error:</p>
  
  <blockquote>
    <p>Error:Execution failed for task ':app:processDebugGoogleServices'.
    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/">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>This is how I have my code:</p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:2.1.2'
      classpath 'com.google.gms:google-services:3.0.0'
      classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
  }
  </code></pre>
  
  <p>And then:</p>
  
  <pre><code>dependencies {
      ...
  
      compile "com.google.android.gms:play-services-gcm:9.2.0"
  
      ...
  }
  </code></pre>
  
  <p>Anyone having the same issue/fixed the same issue?</p>
  
  <p>Thanks.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Apparently you have to apply your GSM plugin at the bottom of your app/build.gradle file. Else, version 9.2.0 will cause conflict in your project.</p>
  
  <p>For reference, this is how my app/build.gradle file looks like now:</p>
  
  <pre><code>apply plugin: "com.android.application"
  apply plugin: "com.neenbedankt.android-apt"
  
  android {
      ...
  }
  
  dependencies {
      ...
  
      // Google Cloud Messaging
      compile "com.google.android.gms:play-services-gcm:9.2.0"
  
      ...
  }
  
  apply plugin: "com.google.gms.google-services"
  </code></pre>