I am trying to add Firebase references to my android app but facing the following problem:
Failed to resolve :com.google.firebase:firebase-core:9.0.0
Follow these steps
Upgrade your Google Play Services and Google Repository.
In Android Studio
Follow this link to check how to update Google Play Services and Repository.