Android W/BiChannelGoogleApi:[FirebaseAuth:]getGoogleAPI方法()返回Gms

Android W/BiChannelGoogleApi:[FirebaseAuth:]getGoogleAPI方法()返回Gms,android,firebase,firebase-realtime-database,firebase-authentication,Android,Firebase,Firebase Realtime Database,Firebase Authentication,从Firebase获取数据时,我的应用程序运行良好。但有时,特别是在等待很长时间后,如果我再次打开我的应用程序,它将不会从firebase读取数据,并且它会在Logcat上发出此警告。直到我唱进唱出,它才起作用 W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms 我的卷轴上有缺线吗 apply plugin: 'com.android.application' android { co

从Firebase获取数据时,我的应用程序运行良好。但有时,特别是在等待很长时间后,如果我再次打开我的应用程序,它将不会从firebase读取数据,并且它会在Logcat上发出此警告。直到我唱进唱出,它才起作用

W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms
我的卷轴上有缺线吗

apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    buildToolsVersion '26.0.2'
    defaultConfig {
        applicationId "com.restroomgames.whereismydudy.where"
        minSdkVersion 23
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        multiDexEnabled true
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.google.android.gms:play-services-maps:11.6.2'
    implementation 'com.google.firebase:firebase-auth:11.6.2'
    implementation 'com.google.firebase:firebase-database:11.6.2'
    implementation 'com.google.firebase:firebase-messaging:11.6.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    implementation 'com.google.android.gms:play-services-location:11.6.2'
    implementation 'com.android.support:design:26.1.0'
    implementation 'com.lapism:searchview:5.0.0-alpha7'
    implementation 'agency.tango.android:material-intro-screen:0.0.5'
    implementation 'com.firebase:geofire-android:2.1.1'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
}
apply plugin: 'com.google.gms.google-services'

不,您的
Gradle中没有缺少任何内容
,这个问题实际上是在升级到Firebase 11.6.0并降级到11.4.2之后出现的,似乎删除了警告消息。

代码似乎正常

我也遇到了类似的情况,同样的警告,电子邮件/密码验证的问题

这是因为在升级我的计算机操作系统后,我忘了更新项目中的SHA-1指纹


您的项目中的API密钥或SHA-1指纹可能有问题?

您能解决此错误吗?我在Flitter stable release中也面临同样的问题。这已经有很长时间了,但据我记忆所及,发生此错误是因为我没有打开一个google API。