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

Not able to build #16

Closed
baoxiehao opened this issue Dec 16, 2017 · 1 comment
Closed

Not able to build #16

baoxiehao opened this issue Dec 16, 2017 · 1 comment

Comments

@baoxiehao
Copy link

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:
~/Code/flutter_repo/weight_tracker/android/app/src/debug/google-services.json
~/Code/flutter_repo/weight_tracker/android/app/google-services.json

It seems that the json file is not existing. But if I comment out the google service in the gradle file, the firebase will not be working. Is there any suggestion?

@baoxiehao
Copy link
Author

I have figured out how it works.
Just need to register the app to my own firebase account, and download a google-service.json file.
Refres to: https://firebase.google.com/docs/android/setup?authuser=0

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

1 participant