title: Failed to resolve 'com.google.firebase:firebase-messaging:11.0.4' in Android Studio 2.3.3
body: <p>I want to Set up a firebase Cloud Messaging Client App on Android studio,
  I am using latest version of Android studio(2.3.3) and my android SDK is fully updated.</p>
  <p>Here is my project gradle file:</p>
  <pre><code> buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.google.gms:google-services:3.1.0'
          classpath 'com.android.tools.build:gradle:2.3.3'
      }
  }
  
  allprojects {
      repositories {
          jcenter()
          maven {
              url &quot;https://maven.google.com&quot;
          }
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  <p>and this is my app build gradle file :</p>
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 25
      buildToolsVersion &quot;25.0.3&quot;
      defaultConfig {
          applicationId &quot;ir.digiwindow.driver.gps_status&quot;
          minSdkVersion 14
          targetSdkVersion 25
          versionCode 1
          versionName &quot;1.0&quot;
          testInstrumentationRunner &quot;android.support.test.runner.AndroidJUnitRunner&quot;
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      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.constraint:constraint-layout:1.0.0-alpha7'
      testCompile 'junit:junit:4.12'
      compile 'com.google.firebase:firebase-messaging:11.0.4'
  
  
  }
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  <p>and I always give this error :</p>
  <pre><code>Error:(30, 13) Failed to resolve: compile 'com.google.firebase:firebase-messaging:11.0.4'
  </code></pre>
  <p>The interesting point here is that when I change version from 11.0.4 to 10.0.1 no error occurs and gradle build successfully!
  I read all related posts in stackoverflow and google developer site, but this error still exists!
  Any ideas welcome...</p>
  <p>Edit 1:
  when I go to look for updates I don't see any option about updating google play service here in the image:</p>
  <p><img src="https://i.stack.imgur.com/I9BjP.jpg" alt="Android SDK dialog" /></p>