Anubhav Singh Anubhav Singh -4 years ago 175
Android Question

Adding Firebase to android Studio fails to resolve

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


screenshot here

Answer Source

Follow these steps

Upgrade your Google Play Services and Google Repository.

In Android Studio

  • Click Tools > Android > SDK Manager
  • Click into the SDK Tools tab
  • Select and install Google Play Services and Google Repository
  • Sync and Build your project.

Follow this link to check how to update Google Play Services and Repository. https://developer.android.com/studio/intro/update.html

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download