background_location icon indicating copy to clipboard operation
background_location copied to clipboard

Android overrides nothing error

Open vov4ik08 opened this issue 3 years ago • 0 comments

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 ?

vov4ik08 avatar Feb 04 '22 08:02 vov4ik08