Failed to resolve: com.google.firebase:firebase-auth:9.0.0
<p>As per <a href="https://codelabs.developers.google.com/codelabs/firebase-android/#5" rel="noreferrer">Firebase codelab Android</a> tutorial,while adding <code>com.google.firebase:firebase-auth:9.0.0</code> in build.gradle dependencies, getting below error:</p>

<blockquote>
  <p>Error:(28, 13) Failed to resolve:
  com.google.firebase:firebase-auth:9.0.0</p>
</blockquote>

<p>See below screenshot:</p>

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