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

Android 6.0 CalendarView #36

Closed
AndroidHJS opened this issue Mar 10, 2023 · 1 comment
Closed

Android 6.0 CalendarView #36

AndroidHJS opened this issue Mar 10, 2023 · 1 comment

Comments

@AndroidHJS
Copy link

java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/LocalDate;
at com.maxkeppeler.sheets.calendar.utils.Constants.(Constants.kt:28)
at com.maxkeppeler.sheets.calendar.models.CalendarConfig.(CalendarConfig.kt:39)

@maxkeppeler
Copy link
Owner

The calendar and time dependent libraries require Java 1.8 / the java.time dependencies.

android {
    ...
    compileOptions {
        targetCompatibility JavaVersion.VERSION_1_8
        sourceCompatibility JavaVersion.VERSION_1_8
    }
    
    dependencies {
        ...
        implementation 'com.android.tools:desugar_jdk_libs:1.1.5'
        ...
  }
}

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