title: Failed to resolve: com.google.android.gms:play-services-gcm:7.5.+
body: <p>I am trying to include GCM in my app.</p>
  
  <p>I keep getting this error message :</p>
  
  <blockquote>
    <blockquote>
      <p>Failed to resolve: com.google.android.gms:play-services-gcm:7.5.+ |
      Install Repository and sync project | Show in Project Structure dialog</p>
    </blockquote>
  </blockquote>
  
  <p>If I try to Install Repository and sync project i get this error:</p>
  
  <blockquote>
    <blockquote>
      <p>Loading SDK information...
      Ignoring unknown package filter 'extra-google-m2repository'Warning: The package filter removed all packages. There is nothing to install.
               Please consider trying to update again without a package filter.</p>
    </blockquote>
  </blockquote>
  
  <p>Here is my gradle file:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  apply plugin: 'com.google.gms.google-services'
  
  android {
      compileSdkVersion 22
      buildToolsVersion "22.0.1"
      ...
  
      dependencies {
          compile fileTree(dir: 'libs', include: ['*.jar'])
          compile 'com.android.support:appcompat-v7:22.2.1'
          compile 'com.google.android.gms:play-services-gcm:7.5.+'
  </code></pre>
  
  <p>// Top-level build file where you can add configuration options common to all sub-projects/modules.</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.2.3'
          classpath 'com.google.gms:google-services:1.3+'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  </code></pre>