Could not find com.google.firebase:firebase-core:10.0.1
<p>Error:A problem occurred configuring project ':messaging:app'.</p>

<blockquote>
  <p>Could not resolve all dependencies for configuration ':messaging:app:_debugApkCopy'.
  Could not find com.google.firebase:firebase-messaging:10.0.1.
       Required by:
           project :messaging:app
  Could not find com.google.firebase:firebase-core:10.0.1.
       Required by:
           project :messaging:app</p>
</blockquote>