0

我在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程序包。
到處都是一樣的名字。

我不知道在哪裏卻越來越問題

+0

通常,當出現該錯誤,還有額外的文本顯示,如「」請修復版本衝突...「。您的錯誤消息是否包含更多文本? –

+0

我將向您顯示錯誤:錯誤:執行任務':app:processDebugGoogleServices'失敗 > Missing api_key/current_key對象 – swap

回答

0

奧基,我得到了答案這個問題....
對不起,我忘了地方API_KEY

相關問題