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

Closed
4 of 8 tasks
Amirdin99 opened this issue Sep 12, 2024 · 5 comments
Assignees
Labels
status: closed (missing info) Indicates the issue was automatically closed due to a lack of information. status: needs more info We need more information before we can continue work on this issue.

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可以关闭了

@TimHoogstrate TimHoogstrate self-assigned this Jan 21, 2025
@TimHoogstrate
Copy link
Contributor

Dear @Amirdin99,

Can you elaborate a bit on the subject. Can you please add the output of flutter doctor -v to the issue?

Kind regards,

@TimHoogstrate TimHoogstrate added the status: needs more info We need more information before we can continue work on this issue. label Jan 21, 2025
Copy link

github-actions bot commented Feb 4, 2025

Without additional information, we are unfortunately not able to resolve this issue. Therefore, we reluctantly closed this issue for now. If you run into this issue later, feel free to file a new issue with a reference to this issue. Add a description of detailed steps to reproduce, expected and current behaviour, logs and the output of 'flutter doctor -v'. Thanks for your contribution.

@github-actions github-actions bot added the status: closed (missing info) Indicates the issue was automatically closed due to a lack of information. label Feb 4, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: closed (missing info) Indicates the issue was automatically closed due to a lack of information. status: needs more info We need more information before we can continue work on this issue.
Projects
None yet
Development

No branches or pull requests

5 participants