title: Firebase Sing in Page doenst Work Ignoring header X-Firebase-Locale because its value was null
body: <p>I'm trying to make a sign up page with Firebase, but I'm getting the following error:
  &quot;Ignoring header X-Firebase-Locale because its value was null&quot;</p>
  <p>1.I have the issue on my Phone and on the Emulator</p>
  <p>2.Internet is working Connection via Wlan.</p>
  <p>3.I checked the gradle and the google-service.Json and all is correct</p>
  <p>4.Sign in Method: Email/Password is active</p>
  <p>5.Android Studio is up to date</p>
  <p>I've seen this question often but none of the replies work for me.
  I think its a small detail that I'm missing.</p>
  <p>Thanks for your help.
  Apfelmann</p>
  <pre><code>package com.example.taskboard;
  
  import androidx.annotation.NonNull;
  import androidx.appcompat.app.AppCompatActivity;
  
  import android.media.MediaCodec;
  import android.os.Bundle;
  import android.util.Patterns;
  import android.view.View;
  import android.widget.Button;
  import android.widget.EditText;
  import android.widget.TextView;
  import android.widget.Toast;
  
  
  import com.google.android.gms.tasks.OnCompleteListener;
  import com.google.android.gms.tasks.Task;
  import com.google.firebase.auth.AuthResult;
  import com.google.firebase.auth.FirebaseAuth;
  import com.google.firebase.firestore.FirebaseFirestore;
  
  import java.util.regex.Pattern;
  
  public class RegWindow extends AppCompatActivity implements View.OnClickListener    {
      TextView RegBack;
      EditText EmailReg, PasswordReg;
      Button ButtonReg;
      FirebaseAuth auth;
  
      @Override
      protected void onCreate(Bundle savedInstanceState)  {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_reg_window);
  
          TextView back = findViewById(R.id.RegBack);
          back.setOnClickListener(this);
  
          Button BReg = findViewById(R.id.ButtonReg);
          BReg.setOnClickListener(this);
          EmailReg = findViewById(R.id.EmailReg);
          PasswordReg = findViewById(R.id.PasswordReg);
          auth = FirebaseAuth.getInstance();
  
  
  
  
  
  
  
  
  
                                                          }
  
      @Override
      public void onClick(View v) {
          switch(v.getId())   {
              case R.id.ButtonReg:
                  reg();
                  break;
  
              case R.id.RegBack:
                  finish();
                  break;
  
                              }
  
                                  }
      public void reg(){
          String Email = EmailReg.getText().toString().trim();
          String Password = PasswordReg.getText().toString().trim();
  
          if(Email.isEmpty())         {
              EmailReg.setError(&quot;Bitte Email eingeben&quot;);
              EmailReg.requestFocus();
              return;
                                      }
          if(Password.isEmpty())      {
              PasswordReg.setError(&quot;Bitte ein Password eingeben&quot;);
              PasswordReg.requestFocus();
              return;
                                      }
          if(!Patterns.EMAIL_ADDRESS.matcher(Email).matches()){
              EmailReg.setError(&quot;Keine Gültige Email eingegeben&quot;);
              EmailReg.requestFocus();
              return;
                                                              }
  
          auth.createUserWithEmailAndPassword(Email,Password)
                  .addOnCompleteListener(RegWindow.this, new OnCompleteListener&lt;AuthResult&gt;() {
                      @Override
                      public void onComplete(@NonNull Task&lt;AuthResult&gt; task) {
                          if(task.isSuccessful()){
  
                              Toast.makeText(RegWindow.this, &quot;Danke für die Regestrierung&quot;, Toast.LENGTH_SHORT).show();
                          }
                          else{
  
  
                              Toast.makeText(RegWindow.this, &quot;Authentication failed.&quot;,Toast.LENGTH_SHORT).show();
  
                          }
                      }
                  });
  
  
  
  
                       }
                                                                                      }
  
  </code></pre>