App just opens and closes after running from android studio on android phone

后端 未结 2 497
离开以前
离开以前 2021-01-25 06:21

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

相关标签:
2条回答
  • 2021-01-25 06:24

    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

    0 讨论(0)
  • 2021-01-25 06:36

    Try using the Firebase tool within Android Studio. Select the service you want to integrate, and follow the step-by-step instructions.

    0 讨论(0)
提交回复
热议问题