John Brown
John Brown

Reputation: 1

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

Upvotes: 0

Views: 571

Answers (2)

Ivan Semkin
Ivan Semkin

Reputation: 177

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 option in "Tools" menuConnect option

Upvotes: 0

Rajesh Satvara
Rajesh Satvara

Reputation: 3964

You forget to download google-services.json File

complete setup guide from this link

Click here..

Upvotes: 0

Related Questions