title: Failed to resolve: com.google.firebase:firebase-messaging:16.0.5
body: <p>How to resolve this error!</p>
  
  <blockquote>
    <p>"Failed to resolve: com.google.firebase:firebase-messaging:16.0.5"</p>
  </blockquote>
  
  <p>Firebase dependencies version is <code>16.0.5</code>, I switch and play with some other versions also, still have the error.</p>
  
  <pre><code>  def Firebase_version = "16.0.5"
          implementation "com.google.firebase:firebase-auth:$Firebase_version"
          implementation "com.google.firebase:firebase-messaging:$Firebase_version"
  </code></pre>
  
  <p>Am using latest version of classpath</p>
  
  <pre><code> classpath 'com.android.tools.build:gradle:3.2.1'
   classpath 'com.google.gms:google-services:4.0.2'
  </code></pre>
  
  <p>And repositories </p>
  
  <pre><code>google()
  jcenter()
  </code></pre>
  
  <p>Both are added:</p>
  
  <p>Android Studio : 3.2.1</p>