App just opens and closes after running from android studio on android studio.
Following warning is also shown :
The app gradle file must have a dependency on co
Assuming all other setup is correct, the error is self explanatory. You need to add a dependency on Firebase Core in your app gradle file under dependencies:
implementation 'com.google.firebase:firebase-core:16.0.1'
You might also want to check out the link below for any missing steps.
Add Firebase to Android Project