gpt4 book ai didi

android - com.google.firebase.FirebaseException : An internal error has occurred. [ CONFIGURATION_NOT_FOUND ]

转载 作者:行者123 更新时间:2023-12-02 18:55:13 24 4
gpt4 key购买 nike

好的,我得到以下异常。不知道为什么会发生这种情况。我已按照指南如何为谷歌帐户设置身份验证。我尝试搜索谷歌,但没有成功解决此问题。我曾尝试搜索 CONFIGURATION_NOT_FOUND 但在 firebase 文档中找不到它。不知道他找不到什么配置。异常基本上没什么用。在使用 Firebase 进行身份验证之前,通过 Firebase 登录会很顺利:

private void authenticateGoogleAccount(GoogleSignInAccount account) {
AuthCredential credential = GoogleAuthProvider.getCredential(account.getIdToken(), null);
mAuth.signInWithCredential(credential)
.addOnCompleteListener(this, new OnCompleteListener<AuthResult>() {
@Override
public void onComplete(@NonNull Task<AuthResult> task) {
if (!task.isSuccessful()) {
Log.w(TAG, "signInWithCredential", task.getException());
Toast.makeText(MainActivity.this, "Authentication failed.",
Toast.LENGTH_SHORT).show();
}
else {
Log.d(TAG, "signInWithCredential");
}
}
});
}

Google 登录方法已在 Firebase 控制台中启用。是的,我找到了duplicate的这个答案,但 5 个月前有 0 个答案和 1 个未回复的评论。

最佳答案

检查您是否在 Firebase 控制台中启用了所需的身份验证类型。

enter image description here

关于android - com.google.firebase.FirebaseException : An internal error has occurred. [ CONFIGURATION_NOT_FOUND ],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41124178/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com