4

While compiling I'm getting a warning like this,

The app Gradle file must have a dependency on com.google.firebase:firebase-core for Firebase services to work as intended.

just add the below line

updated

implementation 'com.google.firebase:firebase-core:17.0.0'
Dino Sunny
  • 921
  • 1
  • 10
  • 18

1 Answers1

7

I think your Gradle file has the below implementation missing. Add this to your app-level build.gradle file

    implementation 'com.google.firebase:firebase-core:17.5.1'
Zia
  • 705
  • 9
  • 11
Sushant Somani
  • 1,450
  • 3
  • 13
  • 31