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

new problem when trying to add this package #174

Closed
yaakoubDj opened this issue Jun 19, 2024 · 5 comments
Closed

new problem when trying to add this package #174

yaakoubDj opened this issue Jun 19, 2024 · 5 comments

Comments

@yaakoubDj
Copy link

when i try to add this package to my project i get a lot of errors the most about Kotlin version , when i remove this package and try again everything work !! , so the problem in this package , i hope fix it because i need this package to get id of NFC tag.

@markHamilton34
Copy link

#158 This could help you.

@dpsavaliya
Copy link

dpsavaliya commented Jul 1, 2024

#158 This could help you.

Not working. Is there any other solution?

@Harry-Chen
Copy link
Contributor

when i remove this package and try again everything work !! , so the problem in this package

Not necessarily. Would you please provide a minimal reproducing code? E.g. the Kotlin and Flutter version you are using, other dependencies, and the specific errors you got.

@dpsavaliya
Copy link

I have solved the issue by changing the kotlin version to "1.9.23" in flutter_project/android/setting.gradle file.

plugins { id "org.jetbrains.kotlin.android" version "1.9.23" apply false }

I'm commenting in case someone else has the same issue.

@Harry-Chen
Copy link
Contributor

The the problem is related to incompatible Kotlin version, mostly because the Kotlin gradle plugin you are using is too old. Good to see that you have solved it.

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