Cannot access class 'kotlinx.datetime.LocalDate'. Check your module classpath for missing or conflicting dependencies
Kondal18 opened this issue · comments
Cannot access class 'kotlinx.datetime.LocalDate'. Check your module classpath for missing or conflicting dependencies error for below code Column {
KalendarEarthy(
modifier = Modifier.fillMaxSize()
)
}
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. 😊