hi-manshu / Kalendar

Kalendar is a powerful and customizable calendar library for Android applications. It provides a flexible and intuitive way to display and interact with calendars in your app. With Kalendar, you can easily render calendar views, handle date selection, pagination, and range selection, and customize the layout to match your app's design.

Home Page:https://www.himanshoe.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. 😊