johnuberbacher / flutter_medical

Functioning Doctor/Healthcare Catalog App created using Dart with Flutter. Stores and loads data from Firebase Firestore DB.
MIT License
242 stars 85 forks source link

When run app, error en service #1

Open mariouriarte opened 3 years ago

mariouriarte commented 3 years ago

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.

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 commented 3 years ago

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

PharaonicDev commented 3 years ago

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

PharaonicDev commented 3 years ago

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 commented 3 years ago

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