getGoogleApiForMethod()返回Gms继续显示

时间:2018-01-29 16:06:04

标签: firebase firebase-realtime-database firebase-authentication

我试着寻找答案很长时间,无法找到解决这个问题的方法。我不久前在Play商店发布了我的应用程序,firebase和Realtime Database的身份验证在发布版本中运行良好。

但是,我想修改一些代码并在google play商店中进行更新。因此,我更改了Android Studio中的代码,并且身份验证不再有效。这个错误不断出现。

01-29 23:58:28.578 22699-22725/com.name.package W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms
01-29 23:58:29.745 22699-22725/com.name.package W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms

这是我的Gradle文件

 buildTypes {
    release {
        debuggable false
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }

    debug {
        debuggable true
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    implementation 'com.android.support:appcompat-v7:27.0.2'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    implementation 'com.google.firebase:firebase-auth:11.8.0'
    implementation 'com.google.firebase:firebase-database:11.8.0'
    implementation 'com.google.firebase:firebase-storage:11.8.0'
    implementation 'com.google.firebase:firebase-core:11.8.0'
    implementation 'com.google.firebase:firebase-messaging:11.8.0'
    implementation 'com.firebaseui:firebase-ui-database:3.1.0'
    implementation 'com.android.support:animated-vector-drawable:27.0.2'
    implementation 'com.android.support:support-v13:27.0.2'
    implementation 'com.android.support:percent:27.0.2'
    implementation 'com.github.wdullaer:MaterialDateTimePicker:v3.0.0'
    implementation 'com.rengwuxian.materialedittext:library:2.1.4'
    implementation 'com.android.support:design:27.0.2'
    implementation 'com.github.dmallcott:DismissibleImageView:1.0.1'
    implementation 'com.github.ganfra:material-spinner:1.1.1'
    implementation 'com.android.support:cardview-v7:27.0.2'
    implementation 'com.android.support:recyclerview-v7:27.0.2'
    implementation 'com.github.bumptech.glide:glide:4.4.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'
    implementation 'com.squareup.retrofit2:retrofit:2.3.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
    implementation 'com.thefinestartist:finestwebview:1.2.7'
    implementation 'com.github.chrisbanes:PhotoView:2.0.0'
    implementation 'de.hdodenhof:circleimageview:2.2.0'
    testImplementation 'junit:junit:4.12'
}

我尝试了所有相关的StackOverflow主题,但没有一个解决方案适合我。我检查了所有SHA证书。一切都没问题,完全没问题。有人可以帮我解决这个问题吗?我似乎无法连接调试版本,但我的发布版本工作正常。

0 个答案:

没有答案