flutter_medical icon indicating copy to clipboard operation
flutter_medical copied to clipboard

When run app, error en service

Open mariouriarte opened this issue 3 years ago • 4 comments

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 `

mariouriarte avatar Oct 16 '20 00:10 mariouriarte

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

12amansharma avatar Oct 17 '20 10:10 12amansharma

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

PharaonicDev avatar Oct 19 '20 23:10 PharaonicDev

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

PharaonicDev avatar Oct 20 '20 02:10 PharaonicDev

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

clearnetinc avatar Nov 14 '20 16:11 clearnetinc