title: Android Firebase createUserWithEmailAndPassword method not entering
body: <p>my android program Firebase Login-Register screen's createUserWithEmailAndPassword method not working.</p>
  
  <pre><code>public void btnUserkayit_Click(View view) {
      final ProgressDialog progressDialog = ProgressDialog.show(RegisterActivity.this, "Lütfen Bekleyiniz...", "Kayıt yapılıyor...", true);
      (firebaseAuth.createUserWithEmailAndPassword(txtEmail.getText().toString(), txtPass.getText().toString()))
              .addOnCompleteListener(RegisterActivity.this,new OnCompleteListener&lt;AuthResult&gt;() {
                  @Override
                  public void onComplete(@NonNull Task&lt;AuthResult&gt; task) {
                      progressDialog.dismiss();
                      if (task.isSuccessful()) {
                          Toast.makeText(RegisterActivity.this, "Kaydınız oluşturulmuştur", Toast.LENGTH_LONG).show();
                          Intent i = new Intent(RegisterActivity.this, LoginActivity.class);
                          startActivity(i);
                      } else {
                          Log.e("ERROR",task.getException().toString());
                          Toast.makeText(RegisterActivity.this, task.getException().getMessage(), Toast.LENGTH_LONG).show();
                      }
                  }
  
              });
  }
  </code></pre>
  
  <p>I click Register button and Progressdialog show in screen but not hide anytime. Please help me. I try all method in internet but not working.</p>
  
  <pre><code>dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
      exclude group: 'com.android.support', module: 'support-annotations'
  })
  compile 'com.android.support:appcompat-v7:24.2.1'
  compile 'com.google.firebase:firebase-database:10.0.1'
  compile 'com.google.firebase:firebase-auth:10.0.1'
  testCompile 'junit:junit:4.12'
  </code></pre>
  
  <p>}</p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:2.2.2'
      classpath 'com.google.gms:google-services:3.1.0'        // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
  }
  </code></pre>
  
  <p>}</p>