VincentJouanne / flutter-bloc-clean-architecture

šŸ› Flutter clean architecture using the bloc library for state management. This repository aims to help people to architecture their Flutter apps by providing an opinionated example.
173 stars 36 forks source link

Cannot run the app #9

Open balajiramadoss opened 1 year ago

balajiramadoss commented 1 year ago

I can't run the app I get the following log

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/balaji/AndroidStudioProjects/flutter-bloc-clean-architecture/app/android/app/src/debug/google-services.json
  /Users/balaji/AndroidStudioProjects/flutter-bloc-clean-architecture/app/android/app/src/google-services.json
  /Users/balaji/AndroidStudioProjects/flutter-bloc-clean-architecture/app/android/app/src/Debug/google-services.json
  /Users/balaji/AndroidStudioProjects/flutter-bloc-clean-architecture/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 5m 16s
Exception: Gradle task assembleDebug failed with exit code 1
VincentJouanne commented 1 year ago

Hey ! It seems like you need to provide your own google-services.json (provided by Firebase) in the Android folder :)