如何解决“ com.firebase.ui.auth.FirebaseUiException:代码:16,消息:16:”?

时间:2019-08-04 14:20:21

标签: android firebase-realtime-database firebase-authentication firebaseui

我正在尝试使用Firebase身份验证对用户进行身份验证,但是会弹出此错误。

我已经添加了SHA1,但是它仍然无法正常工作。

  

E / AuthUI:发生登录错误。       com.firebase.ui.auth.FirebaseUiException:代码:16,消息:16:           在com.firebase.ui.auth.data.remote.GoogleSignInHandler.onActivityResult(GoogleSignInHandler.java:110)           在com.firebase.ui.auth.ui.idp.SingleSignInActivity.onActivityResult(SingleSignInActivity.java:128)           在android.app.Activity.dispatchActivityResult(Activity.java:7454)           在android.app.ActivityThread.deliverResults(ActivityThread.java:4353)           在android.app.ActivityThread.handleSendResult(ActivityThread.java:4402)           在android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)           在android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)           在android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)           在android.app.ActivityThread $ H.handleMessage(ActivityThread.java:1808)           在android.os.Handler.dispatchMessage(Handler.java:106)           在android.os.Looper.loop(Looper.java:193)           在android.app.ActivityThread.main(ActivityThread.java:6669)           在java.lang.reflect.Method.invoke(本机方法)           在com.android.internal.os.RuntimeInit $ MethodAndArgsCaller.run(RuntimeInit.java:493)           在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

0 个答案:

没有答案