Calendar icon indicating copy to clipboard operation
Calendar copied to clipboard

Horizontal Calendar crashing

Open shahrukhahmed94 opened this issue 2 years ago • 5 comments

Library information:

  • Version: [e.g. 2.3.0]
  • View or Compose module: [e.g. Compose]

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 avatar Nov 28 '23 13:11 shahrukhahmed94

Any update on this issue

shahrukhahmed94 avatar Dec 03 '23 19:12 shahrukhahmed94

Please verify that you are using the appropriate calendar version.

Screenshot

kizitonwose avatar Dec 05 '23 16:12 kizitonwose

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.

shahrukhahmed94 avatar Dec 07 '23 10:12 shahrukhahmed94

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.

kizitonwose avatar Dec 13 '23 17:12 kizitonwose

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?

Ezioer avatar Jan 04 '24 07:01 Ezioer