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

Cannot access class 'kotlinx.datetime.LocalDate'. Check your module classpath for missing or conflicting dependencies #168

Open
Kondal18 opened this issue Dec 31, 2023 · 1 comment

Comments

@Kondal18
Copy link

Kondal18 commented Dec 31, 2023

Cannot access class 'kotlinx.datetime.LocalDate'. Check your module classpath for missing or conflicting dependencies error for below code Column {
KalendarEarthy(
modifier = Modifier.fillMaxSize()
)
}

@AndroidJunior9
Copy link
Contributor

The issue you're encountering isn't a problem. The function employs the Kotlin datetime library as opposed to the default one. To resolve the error, simply add the following dependency to your build.gradle file:

implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.5.0")

Please let me know if this solution works for you. 😊

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

2 participants