Failed to resolve: com.google.firebase:firebase-messaging:10.0.0
<p>Want to use Firebase for sending PUSH and so retrieving device token. And so went though this <a href="https://firebase.google.com/docs/android/setup" rel="nofollow noreferrer">tutorial</a>. But get the following error when want to sync <code>gradle</code>. What is the problem? Pressing <code>try again</code> but has no effect. </p>

<p><code>Failed to resolve: com.google.firebase:firebase-messaging:10.0.0</code></p>

<p><a href="https://i.stack.imgur.com/Vb4Xu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vb4Xu.png" alt="enter image description here"></a>
<a href="https://i.stack.imgur.com/tct3z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tct3z.png" alt="enter image description here"></a>
<a href="https://i.stack.imgur.com/9a81D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9a81D.png" alt="enter image description here"></a></p>