W/BiChannelGoogleApi:[FirebaseAuth:] getGoogleApiForMethod()返回了Gms:com.google.firebase.auth.api.internal.zzal@5680b5b [英] W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@5680b5b

查看:89
本文介绍了W/BiChannelGoogleApi:[FirebaseAuth:] getGoogleApiForMethod()返回了Gms:com.google.firebase.auth.api.internal.zzal@5680b5b的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了错误

W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@bbad44f
W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@bbad44f

这是我的Gradle文件

Here is my Gradle file

App Gradle文件 Project Gradle文件

我尝试了所有方法,但没有一个对我有用.

I tried all method but none of them work for me.

*****编辑*****

*****Edited*****

如Alex建议删除[实现'com.firebase:firebase-client-android:2.5.2'] 解决了问题,但我想将一些数据推送到Firebase,这是我使用DB Refrence的代码

As Alex suggested removing [implementation 'com.firebase:firebase-client-android:2.5.2'] solve the issue but i want to push some data to firebase here is my code im using DB refrence

mRootref = new Firebase("https://mpay-infoters.firebaseio.com/users");
    Send.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            String FName_str = FName.getText().toString();
            String LName_str = LName.getText().toString();
            String Email_str = Email.getText().toString();
            String DocInput_str = DocInput.getText().toString();
            DatabaseReference mdatabase = FirebaseDatabase.getInstance().getReference().child("users");
            DatabaseReference currentdb = mdatabase.child(mAuth.getCurrentUser().getUid());
            currentdb.child("Phone No").setValue(PhoneNumber);
            currentdb.child("First Name").setValue(FName_str);
            currentdb.child("Last Name").setValue(LName_str);
            currentdb.child("Email").setValue(Email_str);
            currentdb.child(DocTitle).setValue(DocInput_str);
            Intent intent = new Intent(RegisterUserDetailsActivity.this,Bottom_nav.class);
            startActivity(intent);

        }
    });

推荐答案

您不能使用以下依赖项:

You cannot use the following dependency:

implementation 'com.firebase:firebase-client-android:2.5.2'

与其他依赖项(我看到的)一样,它们都是最新版本.要解决此问题,只需删除上面的实现.

Along with the other dependencies, which I see, all are the latest versions. To solve this, just remove the implementation above.

您可以在此处找到更多信息.

You can find here more informations.

除此之外,请确保还具有最新版本的Google服务.

Beside that, please be also sure to have the latest version of Google Services.

这篇关于W/BiChannelGoogleApi:[FirebaseAuth:] getGoogleApiForMethod()返回了Gms:com.google.firebase.auth.api.internal.zzal@5680b5b的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆