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

Unable to build flutter release version with background_locator lastest #350

Open
arineteck opened this issue Oct 2, 2022 · 1 comment

Comments

@arineteck
Copy link

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

@hussenIbrahim
Copy link

try background_locator_2 package

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

2 participants