Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
Ask Question
here is the screenshot
i want to run a project in android studio. but when i click run button it's showing me the error
Warning: The app gradle file must have a dependency on com.google.firebase:firebase-core for Firebase services to work as intended.
As the warning is clearly stating, you're trying to use a library that needs firebase-core to work. Basically all Firebase plugins need to have the Firebase core library added for them to work.
To fix your problem add the library to your App build.gradle file:
implementation 'com.google.firebase:firebase-core:16.0.6'
When adding a new App to your Firebase Console you need to follow the steps as below:
–
–
–
–
–