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

Cant run the app as google-services.json is missing #6

Open
rahul-badgujar opened this issue Jan 3, 2021 · 2 comments
Open

Cant run the app as google-services.json is missing #6

rahul-badgujar opened this issue Jan 3, 2021 · 2 comments

Comments

@rahul-badgujar
Copy link

  • 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)

@Adejoh-godwin
Copy link

Adejoh-godwin commented Feb 2, 2021

You need to connect it with firebase console. go to console.girebase

@saad0259
Copy link

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

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

3 participants