title: How can i fix SERVICE_NOT_AVAILABLE in Android
body: <p>I want add <strong>firebase</strong> into my application and I added <strong>firebase</strong> with this path : <code>Tools -&gt; Firebase</code> . <br>
  But when run application show me this error in logs : </p>
  
  <pre><code>03-30 16:33:14.741 1457-1575/com.example.mohammad.a1_firstfirebase W/GooglePlayServicesUtil: Google Play services out of date.  Requires 10084000 but found 6599430
  03-30 16:33:14.742 1457-1457/com.example.mohammad.a1_firstfirebase W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
  03-30 16:33:34.846 1457-2691/com.example.mohammad.a1_firstfirebase D/FirebaseInstanceId: background sync failed: SERVICE_NOT_AVAILABLE, retry in 60s
  </code></pre>
  
  <p>I added this dependencies : </p>
  
  <pre><code>{
        classpath 'com.google.gms:google-services:3.0.0'
  
       compile 'com.google.firebase:firebase-messaging:10.0.1'
  }
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>How can I fix this problem? I need this help, please help me</p>