Default FirebaseApp is not initialized in this process com.myapp. Make sure to call FirebaseApp.initializeApp(Context) first

Create a MApplication.class

public class MApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        FirebaseApp.initializeApp(this);

    }

And Add this in Manifest

<application
        android:name=".MApplication">

Final step add in top of the build.gradle(app level)

apply plugin: 'com.google.gms.google-services'
    

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top