I have made two activities Register
and Signin
, but when I run my code it crashes with the following error message:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.firebasemessagingapp/com.example.firebasemessagingapp.LoginActivity}: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.example.firebasemessagingapp. Make sure to call FirebaseApp.initializeApp(Context) first