Unable to update the Firebase dependency(com.google.firebase)
<p>I have Added Firebase to android app for push notification. I have updated build.gradle before i have used. Its working fine.</p>

<pre><code> compile 'com.google.firebase:firebase-messaging:9.2.0'
</code></pre>

<p>now i have updated to latest library but getting error.</p>

<pre><code> dependencies {
  //....
     compile 'com.google.firebase:firebase-core:10.0.1'       
  }
</code></pre>

<p>I had getting error at the time of Rebuild project </p>

<blockquote>
  <p>Error:A problem occurred configuring project ':app'.
  Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
  Could not find com.google.firebase:firebase-core:10.0.1.
       Required by:
           DGApp:app:unspecified</p>
</blockquote>

<p>Thank you in advance.</p>