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

File google-services.json is missing. The Google Services Plugin cannot function without it. #22

Closed
wyattbiker opened this issue Mar 19, 2019 · 1 comment

Comments

@wyattbiker
Copy link

I am using VSCode Version 1.32.3 (1.32.3)
Mac OS X High Sierra

What is wrong?

Launching lib/main.dart on Android SDK built for x86 in debug mode...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

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: 
  /Users/user1/fldev/recipes_app/android/app/src/nullnull/debug/google-services.json
  /Users/user1/fldev/recipes_app/android/app/src/debug/nullnull/google-services.json
  /Users/user1/fldev/recipes_app/android/app/src/nullnull/google-services.json
  /Users/user1/fldev/recipes_app/android/app/src/debug/google-services.json
  /Users/user1/fldev/recipes_app/android/app/src/nullnullDebug/google-services.json
  /Users/user1/fldev/recipes_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. Run with --scan to get full insights.

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

BUILD FAILED in 13s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
@krolmic
Copy link
Owner

krolmic commented Mar 26, 2019

Clone the project and follow this guide to add Firebase and include google-services.json into the project. This article describes how to implement the authentication using Firebase and Goolge Sign-In.

@krolmic krolmic closed this as completed Mar 26, 2019
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