Baseflow / flutter-geolocator

Android and iOS Geolocation plugin for Flutter
https://baseflow.com/
MIT License
1.24k stars 649 forks source link

[Question]:I don't use geolocator package with yandex_mapkit package ,error-->>/Users/user/AndroidStudioProjects/clean_area/android/app/src/main/kotlin/com/example/clean_area/MainApplication.kt: (17, 23): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1. #1571

Open Amirdin99 opened 4 weeks ago

Amirdin99 commented 4 weeks ago

Please check the following before submitting a new issue.

Please select for which platform(s) you need help

Your question

/Users/user/AndroidStudioProjects/clean_area/android/app/src/main/kotlin/com/example/clean_area/MainApplication.kt: (17, 23): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.

Screenshot 2024-09-12 at 17 07 57 Screenshot 2024-09-12 at 17 07 57

Version

13.0.1

ashish007ratz commented 3 weeks ago

hey @Amirdin99 did you resolve it ?

Dakrain commented 2 weeks ago

same issue happened to me. I manged to fix it by change settings.gradle in android folder from: id "org.jetbrains.kotlin.android" version "1.7.10" apply false -> id "org.jetbrains.kotlin.android" version "1.9.0" apply false

wangbf11 commented 1 week ago

楼上的 这样就可以了 安卓的依赖改一下 geolocator: ^12.0.0 geolocator_android: 4.5.5 这个bug可以关闭了