Bug: Execution failed for task ':background_location:compileReleaseKotlin' (Flutter 3.32.5)
e: file:///Users/himanshujaiswal/.pub-cache/hosted/pub.dev/background_location-0.13.0/android/src/main/kotlin/com/almoullim/background_location/BackgroundLocationPlugin.kt:18:52 Unresolved reference 'Registrar'. e: file:///Users/himanshujaiswal/.pub-cache/hosted/pub.dev/background_location-0.13.0/android/src/main/kotlin/com/almoullim/background_location/BackgroundLocationPlugin.kt:20:50 Unresolved reference 'context'. e: file:///Users/himanshujaiswal/.pub-cache/hosted/pub.dev/background_location-0.13.0/android/src/main/kotlin/com/almoullim/background_location/BackgroundLocationPlugin.kt:20:71 Unresolved reference 'messenger'. e: file:///Users/himanshujaiswal/.pub-cache/hosted/pub.dev/background_location-0.13.0/android/src/main/kotlin/com/almoullim/background_location/BackgroundLocationPlugin.kt:21:23 Unresolved reference 'addRequestPermissionsResultListener'.
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':background_location:compileReleaseKotlin'.
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details
- 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 5s
I'm facing a issue while creating a appbundle, might be it is related to embedding version issue, please fix it asap, so every one can easily access the package,
Flutter 3.32.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision fcf2c11572 (4 weeks ago) • 2025-06-24 11:44:07 -0700 Engine • revision dd93de6fb1 (4 weeks ago) • 2025-06-24 07:39:37 -0700 Tools • Dart 3.8.1 • DevTools 2.45.1