Skip to content Skip to sidebar Skip to footer

W/system: Ignoring Header X-firebase-locale Because Its Value Was Null

Im very new to android studio. I'm trying to make a signup page with email and password authentication with Firebase. Howerver, whenever I try to click the sign up button it gives:

Solution 1:

Make sure the emulator is connected to the internet. Sometimes the wifi is on but doesnt connect to the internet. This is how i fixed it anyway.

Solution 2:

Have you enabled the Email/Password Sign-in method on your Firebase console?

Firebase Console

Solution 3:

Add this line to manifest.xml inside application tag:

android:usesCleartextTraffic="true"

Solution 4:

PREPARATION

  1. Check if your emulator has the permission to access internet and also is connected to.
  2. Email/Password Sign-in method in your firebase console is enabled to gain access.

STEP 1: Create sha1 key + debug key information + Adding firebase. You probably have your sha1 key only with the normal information from the release key, I guess?

STEP 2: Activate Android Device Verification from console.cloud.google.com and insert your sha keys that are automatically generated by firebase + their matching preferences (like package name...)

CONCLUSION

Your code looks good to me! Everything is set up right. I think you forgot some trivial settings or the right sha key.

Solution 5:

I have this issue only when I use the emulator on Android Studio. I searched and tested a bit and discovered that this problem doesn't appear when I use my own phone to launch my app. Like someone else stated before me it might be because of the wifi connection on the emulator.

(I'm quite new to Android Studio, I'm just sharing the way I solved it, hope it helps)

Use this to use your app on your own device: https://developer.android.com/studio/run/device

Post a Comment for "W/system: Ignoring Header X-firebase-locale Because Its Value Was Null"