异常的Firebase Google登录行为

时间:2018-12-20 07:06:10

标签: android firebase android-studio firebase-authentication

我最近一直在从事一个Android项目,该项目要求我在使用Firebase的一项活动中实现Google登录功能。我面临着这个不寻常的问题:

每当我在Android手机上构建程序时,Google登录即可正常运行。使我能够轻松登录。 (我将代码提交给Github) 现在,当我的导师从GitHub上获取更新的代码并在他的手机上构建项目时,Google登录无法正常工作,即他无法登录。

他收到以下错误:

E/AuthUI: A sign-in error occurred.
com.firebase.ui.auth.FirebaseUiException: Code: 12500, message: 12500:
at com.firebase.ui.auth.data.remote.GoogleSignInHandler.onActivityResult(GoogleSignInHandler.java:109)
at com.firebase.ui.auth.ui.idp.SingleSignInActivity.onActivityResult(SingleSignInActivity.java:128)
at android.app.Activity.dispatchActivityResult(Activity.java:7317)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4436)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4484)
at android.app.ActivityThread.-wrap19(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1743)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6753)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:482)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

但是,当我向他发送系统中的APK版本时,在他的设备上运行正常。

这可能是什么原因,我该如何解决这个问题?

0 个答案:

没有答案