flutter_medical
flutter_medical copied to clipboard
Cant run the app as google-services.json is missing
-
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 44s Running "flutter pub get" in flutter_medical... Launching lib\main.dart on Android SDK built for x86 64 in debug mode... lib\main.dart:1 Parameter format not correct -
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: D:\Programming Essentials\Open Source\flutter_medical\android\app\src\nullnull\google-services.json D:\Programming Essentials\Open Source\flutter_medical\android\app\src\debug\google-services.json D:\Programming Essentials\Open Source\flutter_medical\android\app\src\nullnullDebug\google-services.json D:\Programming Essentials\Open Source\flutter_medical\android\app\src\nullnull\debug\google-services.json D:\Programming Essentials\Open Source\flutter_medical\android\app\src\debug\nullnull\google-services.json D:\Programming Essentials\Open Source\flutter_medical\android\app\google-services.json Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)
You need to connect it with firebase console. go to console.girebase
To add to @Adejoh-godwin 's answer. Go to the firebase console. Create a new app there. Then connect it with android app using your app's applicationId download the google-serices.json file and place it in your app-level directory Now you are good to go