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

[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
4 of 8 tasks
Amirdin99 opened this issue Sep 12, 2024 · 3 comments

Comments

@Amirdin99
Copy link

Please check the following before submitting a new issue.

Please select for which platform(s) you need help

  • Android
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

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
Copy link

hey @Amirdin99 did you resolve it ?

@Dakrain
Copy link

Dakrain commented Sep 23, 2024

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
Copy link

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

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

4 participants