简体   繁体   中英

Android Studio & firebase issues

hello guys can someone help me find solution to this error

Error:Execution failed for task ':app:processDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it. Searched Location: /Users/mac/AndroidStudioProjects/HaveChat/app/src/debug/google-services.json /Users/mac/AndroidStudioProjects/HaveChat/app/google-services.json

in my build gradle i have adde this code

classpath 'com.android.tools.build:gradle:1.2.3' classpath 'com.google.gms:google-services:1.0'

and i have also i applied this plugin as well

apply plugin: 'com.google.gms.google-services'

but yet still am getting that error. thanks in advance

You forget to download google-services.json File

complete setup guide from this link

Click here..

You can use Android Studio's Firebase assistant to automatically connect your project to a respective one on Firebase OR to create a new one and then connect to it if you don't have a Firebase project already.

“工具”菜单中的Firebase选项 连接选项

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM