background_location
background_location copied to clipboard
Android overrides nothing error
Hello. I create new flutter project (flutter 2.10) and add only background_location packege, after that i try to start my app. I get this errors:
e: /Volumes/apacer/flutter/.pub-cache/hosted/pub.dartlang.org/background_location-0.8.1/android/src/main/kotlin/com/almoullim/background_location/LocationUpdatesService.kt: (111, 17): 'onLocationResult' overrides nothing e: /Volumes/apacer/flutter/.pub-cache/hosted/pub.dartlang.org/background_location-0.8.1/android/src/main/kotlin/com/almoullim/background_location/LocationUpdatesService.kt: (112, 44): Type mismatch: inferred type is LocationResult? but LocationResult was expected e: /Volumes/apacer/flutter/.pub-cache/hosted/pub.dartlang.org/background_location-0.8.1/android/src/main/kotlin/com/almoullim/background_location/LocationUpdatesService.kt: (159, 63): Type mismatch: inferred type is LocationRequest? but LocationRequest was expected e: /Volumes/apacer/flutter/.pub-cache/hosted/pub.dartlang.org/background_location-0.8.1/android/src/main/kotlin/com/almoullim/background_location/LocationUpdatesService.kt: (160, 47): Type mismatch: inferred type is Looper? but Looper was expected
Can you help me ?