JulianAssmann / flutter_background

A flutter plugin to keep apps running in the background via foreground services. Android only.
https://pub.dev/packages/flutter_background
MIT License
86 stars 46 forks source link

example build error #6

Closed yakupbaser closed 3 years ago

yakupbaser commented 3 years ago

hi,

i tryed to bu build your example and i got an error. firstly i upgraded packages. I use flutter last version. Error output is:

Macs-MacBook-Pro:example macpro$ flutter build apk --target-platform android-arm64

FAILURE: Build failed with an exception.

BUILD FAILED in 42s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 43.4s Gradle task assembleRelease failed with exit code 1

JulianAssmann commented 3 years ago

Hey,

this seems to be an issue not related to the package. Could you please try again with

flutter build apk --debug
flutter build apk --profile
flutter build apk --release

as suggested here?

yakupbaser commented 3 years ago

yes it worked, i had tried in ios i guess :) Thanks for your help.

JulianAssmann commented 3 years ago

Perfect, thanks for letting me know :+1: