Android auth firebase error: Local module descriptor class for com.google.firebase.auth not found
Android auth firebase error: Local module descriptor class for com.google.firebase.auth not found
Option 1: Go to Firebase Console < Authentication < SIGN-IN METHOD, and see if you are using it in the Anonymous state. If you are, disable that and enable Email/Password or whichever login method you are using.
Option 2: Check if the device you are testing with is running Google Play Services 9.0.0 or later.
Add a log
in onComplete()
listener of createUserWithEmailAndPassword()
to see what exactly is the reason behind the failure.
if (!task.isSuccessful()) {
Log.e(TAG, onComplete: Failed= + task.getException().getMessage());
}
This can be due to the password
or email
you entered to create an account.
Check:
- if the email you entered is in proper format and does exist.
- if password is strong enough to be accepted (usually not less than 6 letters).
- if there is already an account with the same email.
Android auth firebase error: Local module descriptor class for com.google.firebase.auth not found
In my case, I was debugging the application and was missing the SHA1
Key in my firebase project configuration. If you are debugging make sure you have your SHA1
Key in place.