Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google-services.json file is missing #14

Closed
firoz3130 opened this issue Oct 7, 2022 · 5 comments
Closed

google-services.json file is missing #14

firoz3130 opened this issue Oct 7, 2022 · 5 comments

Comments

@firoz3130
Copy link

Need help in this

  • What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:

@notSanil
Copy link
Collaborator

notSanil commented Oct 7, 2022

Can you post a longer error message, I am not entirely sure why it's asking for this file in the current stage

@firoz3130
Copy link
Author

This was the error message
Seems like a file is missing in it. Do i have to bring it separately?
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
D:\personal\Time-Table-App\android\app\src\debug\google-services.json
D:\personal\Time-Table-App\android\app\src\google-services.json
D:\personal\Time-Table-App\android\app\google-services.json

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output

@notSanil
Copy link
Collaborator

notSanil commented Oct 7, 2022

Alright, I've found the problem

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

I accidentally committed this line, remove it, and it should run fine

@firoz3130
Copy link
Author

ok
now it's working fine

@notSanil
Copy link
Collaborator

notSanil commented Oct 8, 2022

Great, marking the issue as closed then.

@notSanil notSanil closed this as completed Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants