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

When run app, error en service #1

Open
mariouriarte opened this issue Oct 16, 2020 · 4 comments
Open

When run app, error en service #1

mariouriarte opened this issue Oct 16, 2020 · 4 comments

Comments

@mariouriarte
Copy link

Thanks for the application, I have the following error when I try to launch it.

`→ flutter run [9794f47]
Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling
software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...

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:
/home/mario/tmp/flutter/flutter_medical/android/app/src/nullnull/google-services.json
/home/mario/tmp/flutter/flutter_medical/android/app/src/debug/google-services.json
/home/mario/tmp/flutter/flutter_medical/android/app/src/nullnullDebug/google-services.json
/home/mario/tmp/flutter/flutter_medical/android/app/src/nullnull/debug/google-services.json
/home/mario/tmp/flutter/flutter_medical/android/app/src/debug/nullnull/google-services.json
/home/mario/tmp/flutter/flutter_medical/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 12s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 12,7s
Exception: Gradle task assembleDebug failed with exit code 1
`

@12amansharma
Copy link

link it with your firebase and download googleservices.json from there by following the onscreen instructions.

@PharaonicDev
Copy link

it will be ok if you explain how to link with firebase and download file

@PharaonicDev
Copy link

Here the solution Google Service
and After That you will face a secound issue open build.gradle file and change Application ID to you own

@clearnetinc
Copy link

You also have to make sure you check all other instances of the package name and ensure you change package name to yours.

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

4 participants