Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/207.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/google-app-engine/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android FirebaseException:发生内部错误。[未找到配置]_Android_Google App Engine_Firebase_Firebase Authentication - Fatal编程技术网

Android FirebaseException:发生内部错误。[未找到配置]

Android FirebaseException:发生内部错误。[未找到配置],android,google-app-engine,firebase,firebase-authentication,Android,Google App Engine,Firebase,Firebase Authentication,当我将令牌传递给firebase并返回时,我成功地完成了GoogleSigin com.google.firebase.FirebaseException: An internal error has occured. [ CONFIGURATION_NOT_FOUND ] at com.google.android.gms.internal.zzafg.zzes(Unknown Source) at com.google.android.gms.internal.zzafd$z

当我将令牌传递给firebase并返回时,我成功地完成了GoogleSigin

com.google.firebase.FirebaseException: An internal error has occured. [ CONFIGURATION_NOT_FOUND ]
    at com.google.android.gms.internal.zzafg.zzes(Unknown Source)
    at com.google.android.gms.internal.zzafd$zzg.zza(Unknown Source)
    at com.google.android.gms.internal.zzafo.zzet(Unknown Source)
    at com.google.android.gms.internal.zzafo$zza.onFailure(Unknown Source)
    at com.google.android.gms.internal.zzafj$zza.onTransact(Unknown Source)
    at android.os.Binder.execTransact(Binder.java:458)
在我的代码中,我有

  mAuth.signInWithCredential(credential)
            .addOnCompleteListener(this, new OnCompleteListener<AuthResult>() {
                @Override
                public void onComplete(@NonNull Task<AuthResult> task) {
                    Log.d(TAG, "signInWithCredential:onComplete:" + task.isSuccessful());

                    // If sign in fails, display a message to the user. If sign in succeeds
                    // the auth state listener will be notified and logic to handle the
                    // signed in user can be handled in the listener.
                    if (!task.isSuccessful()) {
                        Log.w(TAG, "signInWithCredential", task.getException());
                        Toast.makeText(LoginActivity.this, "Authentication failed.",
                                Toast.LENGTH_SHORT).show();
                    } else {
mAuth.signInWithCredential(凭证)
.addOnCompleteListener(这是新的OnCompleteListener(){
@凌驾
未完成的公共void(@NonNull任务){
Log.d(标记“signInWithCredential:onComplete:+task.isSuccessful()”);
//如果登录失败,则向用户显示消息。如果登录成功
//将通知身份验证状态侦听器,并使用逻辑来处理
//可以在侦听器中处理已登录用户。
如果(!task.issusccessful()){
w(标记“signInWithCredential”,task.getException());
Toast.makeText(LoginActivity.this,“身份验证失败”,
吐司。长度(短)。show();
}否则{

如何实例化
凭证
?如何实例化
凭证