错误:在FirebaseAuth上执行任务':app:processDebugGoogleServices'时执行失败
问题描述:
我在Android中执行Firebase身份验证应用,并在垃圾桶中卡住(我卡住了)。我收到此错误错误:执行任务失败:app :processDebugGoogleServices'错误:在FirebaseAuth上执行任务':app:processDebugGoogleServices'时执行失败
我在gradle.build在加入这些依赖关系(模块:APP)
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
// compile 'com.google.firebase:firebase-auth:10.0.1'
compile 'com.google.firebase:firebase-auth:10.2.0'
compile 'com.google.android.gms:play-services-auth:10.2.0'
}
apply plugin: 'com.google.gms.google-services'
我还添加了类路径中gradle.build项目
classpath 'com.google.gms:google-services:3.0.0'
新增谷歌,services.json文件在Android项目
我还检查
1)AndroidManifests文件包名称,
2)在gradle.app的applicationID和
3)在谷歌-services.json程序包。
到处都是一样的名字。
我不知道在哪里却越来越问题
答
奥基,我得到了答案这个问题....
对不起,我忘了地方API_KEY
通常,当出现该错误,还有额外的文本显示,如“”请修复版本冲突...“。您的错误消息是否包含更多文本? –
我将向您显示错误:错误:执行任务':app:processDebugGoogleServices'失败 > Missing api_key/current_key对象 – swap