kizitonwose / Calendar

A highly customizable calendar view and compose library for Android.
MIT License
4.5k stars 492 forks source link

Horizontal Calendar crashing #512

Closed shahrukhahmed94 closed 4 months ago

shahrukhahmed94 commented 7 months ago

Library information:

Describe the bug**

java.lang.NoSuchMethodError: No static method AnimatedContent(Ljava/lang/Object;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/Alignment;Ljava/lang/String;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;II)V in class Landroidx/compose/animation/AnimatedContentKt; or its super classes (declaration of 'androidx.compose.animation.AnimatedContentKt' appears in /data/app/~~lw_C9tmkwEYFPHPnXhGcwQ==/com.avanza.ourpol-teQbiLIwCZ74LhsbzJiBmw==/base.apk)

To Reproduce (if applicable)

Steps to reproduce the behavior:

  1. Go to '....'
  2. Click on '....'
  3. See '....'

Expected behavior (if applicable)

A clear and concise description of what you expected to happen.

Screenshots? (if applicable)

If applicable, add screenshots or screen recordings to help explain the problem.

Additional information

Add any other information about the bug here.

shahrukhahmed94 commented 6 months ago

Any update on this issue

kizitonwose commented 6 months ago

Please verify that you are using the appropriate calendar version.

Screenshot
shahrukhahmed94 commented 6 months ago

My compose version is 1.5.2 & Calendar lib version is 2.3.0 where as if I try to compile to 2.4 then my app stops compiling getting this error (/com/kizitonwose/calendar/core/CalendarDay.class) class file has wrong version 61.0, should be 55.0 Please remove or make sure it appears in the correct subdirectory of the classpath.

kizitonwose commented 6 months ago

Sorry but I am unable to reproduce this, kindly include a minimal sample project. If you can reproduce it with the included sample project, that would be great.

Ezioer commented 5 months ago

My compose version is 1.5.2 & Calendar lib version is 2.3.0 where as if I try to compile to 2.4 then my app stops compiling getting this error (/com/kizitonwose/calendar/core/CalendarDay.class) class file has wrong version 61.0, should be 55.0 Please remove or make sure it appears in the correct subdirectory of the classpath.↳

I had the same problem, have you solved it yet?