Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle must have Dependency on com.google.firebase:firebase-core for Firebase services to work as intended [duplicate]

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'
like image 411
Dino Sunny Avatar asked Mar 05 '23 06:03

Dino Sunny


1 Answers

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'
like image 113
Sushant Somani Avatar answered Mar 07 '23 20:03

Sushant Somani