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 not found #3

Open
akshaybalaji123 opened this issue Sep 10, 2020 · 3 comments
Open

Google services not found #3

akshaybalaji123 opened this issue Sep 10, 2020 · 3 comments

Comments

@akshaybalaji123
Copy link

I added the google services.json file but I also did the pub get.

Each time I try to run I get this error

  • 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:
C:\Users\aksha\Downloads\GroupChatApp-master\android\app\src\nullnull\google-services.json
C:\Users\aksha\Downloads\GroupChatApp-master\android\app\src\debug\google-services.json
C:\Users\aksha\Downloads\GroupChatApp-master\android\app\src\nullnullDebug\google-services.json
C:\Users\aksha\Downloads\GroupChatApp-master\android\app\src\nullnull\debug\google-services.json
C:\Users\aksha\Downloads\GroupChatApp-master\android\app\src\debug\nullnull\google-services.json
C:\Users\aksha\Downloads\GroupChatApp-master\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. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 9s
Exception: Gradle task assembleDebug failed with exit code 1

I don't understand why or how to fix this. What do I do?

@ahmedgulabkhan
Copy link
Owner

@akshaybalaji123 I guess the path or location of your google-services.json file is not correct. It should be 'C:\Users\aksha\Downloads\GroupChatApp-master\android\app\google-services.json'

@akshaybalaji123
Copy link
Author

The Path is the exact same as you listed. I am not understanding why it doesn’t run?

@akshaybalaji123
Copy link
Author

Could you add a google services.json so that I can try running it using one of yours before changing it to mine?

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