我将Firebase从(FirebaseAuth)16.2.1更新到了Firebase 18.0.0,现在在用户注册期间(在FB 16.2.1上运行),例如:
mAuth.createUserWithEmailAndPassword(email, password).addOnCompleteListener....
我的应用进入Logcat中的以下错误的循环:
E/FirebaseAuth: [Reload] RemoteException when sending get token and account info user response
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:1147)
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:1147)
at cux.c(:com.google.android.gms@x@17.7.85 (100408-253824076):1)
at bqvf.a(:com.google.android.gms@x@17.7.85 (100408-253824076):7)
at bqvb.a(:com.google.android.gms@x@17.7.85 (100408-253824076):5)
at bqup.a(:com.google.android.gms@x@17.7.85 (100408-253824076):3)
at bqru.a(:com.google.android.gms@xx9@17.7.85 (100408-253824076):163)
at bqum.a(:com.google.android.gms@x@17.7.85 (100408-253824076):6)
at bqtg.a(:com.google.android.gms@x@17.7.85 (100408-253824076):41)
at bqsm.a(:com.google.android.gms@x@17.7.85 (100408-253824076):2)
at bqrz.a(:com.google.android.gms@x@17.7.85 (100408-253824076):8)
at sfn.run(:com.google.android.gms@x@17.7.85 (100408-253824076):28)
at bkng.run(:com.google.android.gms@x@17.7.85 (100408-253824076):2)
at skq.b(:com.google.android.gms@x@17.7.85 (100408-253824076):37)
at skq.run(:com.google.android.gms@x@17.7.85 (100408-253824076):18)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at sqo.run(Unknown Source:7)
at java.lang.Thread.run(Thread.java:784)
我的礼物:
implementation 'com.google.firebase:firebase-core:17.0.0'
implementation 'com.google.firebase:firebase-messaging:19.0.1'
implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.google.firebase:firebase-auth:18.0.0'
implementation 'com.google.firebase:firebase-storage:18.0.0'
implementation 'com.google.firebase:firebase-database:18.0.0'
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation 'com.google.android.gms:play-services-auth:17.0.0'
清单:
有趣的是,它起作用了,但是在80%的情况下,应用程序进入了漏洞。强制停止Google Play服务会停止循环。
我只是不明白这里出了什么问题!你能帮我吗?