GroupChatApp icon indicating copy to clipboard operation
GroupChatApp copied to clipboard

Google services not found

Open akshaybalaji123 opened this issue 3 years ago • 3 comments

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?

akshaybalaji123 avatar Sep 10 '20 02:09 akshaybalaji123

@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'

ahmedgulabkhan avatar Sep 13 '20 06:09 ahmedgulabkhan

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

akshaybalaji123 avatar Sep 13 '20 09:09 akshaybalaji123

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

akshaybalaji123 avatar Sep 13 '20 09:09 akshaybalaji123