1

Firebaseからデータを取得してもうまく動作しています。しかし、時には特別な場合、私は再びfirebaseからデータを読み取ることはありませんし、また、Logcatでこの警告を与える私のアプリを開いて長い時間を待って後。私が歌い、歌うまではうまくいきません。W/BiChannelGoogleApi:[FirebaseAuth:] getGoogleApiForMethod()が返されたGms

W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms 

私のgradleに欠けている行はありますか?

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' 

答えて

0

あなたGradleで欠けているものはないん11.4.2へのダウングレードFirebase 11.6.0へのアップグレードが警告メッセージを削除するように見えることから、この問題は実際にはどこから来ていません。

0

コードは大丈夫そうです。..

ちょうど私はSHA-1指紋を更新するのを忘れているのでそれがあった私に似たような、同じ警告、電子メール/パスワードの認証に問題..

が起こりました私のコンピュータOSをアップグレードした後のプロジェクト。

プロジェクトのAPIキーまたはSHA-1指紋に問題がある可能性がありますか?

関連する問題