当我们添加此行时,应用程序崩溃并显示此错误“检查您的Google服务插件配置,未填充default_web_client_id字符串”
该怎么办?我已经尝试了GitHub和堆栈溢出中建议的几乎所有解决方案,但我的问题没有解决。我的项目是使用谷歌登录火库UI,我不知道为什么它现在不起作用。
如果我删除谷歌构建器,那么该应用程序可以正常工作,没有任何问题。new AuthUI.IdpConfig.GoogleBuilder().build()
implementation 'com.firebaseui:firebase-ui-auth:4.3.2'
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'io.fabric.tools:gradle:1.25.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
// classpath 'com.google.gms:google-services:3.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
}
叮当猫咪
慕雪6442864
绝地无双
相关分类