Unable to build flutter release version with background_locator lastest
arineteck opened this issue · 1 comments
This error appears in the console when I try to get a release build of a flutter app
e: /Users/hrefnholle/fvm/versions/flutter/.pub-cache/hosted/pub.dartlang.org/background_locator-1.6.12/android/src/main/kotlin/rekab/app/background_locator/pluggables/InitPluggable.kt: (22, 55): Type mismatch: inferred type is BinaryMessenger? but BinaryMessenger was expected
`Execution failed for task ':background_locator:compileReleaseKotlin'.
Compilation error. See log for more details
`
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.6 21G115 darwin-x64, locale fr-CI) Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.71.2)
[✓] Connected device (4 available)
[✓] HTTP Host Availability
try background_locator_2 package