I tried to create a login form in android studio and integrated the new firebase https://console.firebase.google.com and change my code from legacy to new one.
I'm getting this after executing my application,
java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
I don't know how to set or to initialize this with the new Firebase. This is what I did for Authenticating the user and getInstance.
FirebaseAuth mAuth = FirebaseAuth.getInstance();
FirebaseApp app = Firebase.getInstance(FirebaseApp.DEFAULT_NAME);
in this part i have an error does anyone has Idea?