Updating to 0.3.0 causes java.lang.NoSuchMethodError #34
Comments
What version of Compose are you using? |
Using Compose 1.2.1 with Compose Compiler 1.3.0 |
I don't see how that can happen to be honest. Are you using Accompanist Pager? Also, please attach the full stack trace. |
Yes, i am using many accompanist libraries, including pager, all using version 0.25.1 I am using the following overload of
However, the crash seems to happen regardless of which overload i choose Stack Trace with obfuscated application ID:
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
I just tried, i'm still experiencing this issue. |
Hi, I don't really know what's going on here. I've used this in a number of projects (including Tivi) with no issues. If you can reproduce this in a small project, I'll take a look. I'm going to close this for now |
I have found another hint: Could it be that dependency resolution fails here and this is why i cannot use this library in version 3.0.0? |
Describe the bug
The app crashes when trying to call the
rememberSnapperFlingBehavior()
functionTo Reproduce
Using
rememberSnapperFlingBehavior()
instantly crashes my app since i have updated to the 0.3.0 versionExpected behavior
No crash occurs
Environment:
Exception Message:
java.lang.NoSuchMethodError: No static method rememberSnapperFlingBehavior-TN_CM5M(Landroidx/compose/foundation/lazy/LazyListState;Lkotlin/jvm/functions/Function2;FLandroidx/compose/animation/core/DecayAnimationSpec;Landroidx/compose/animation/core/AnimationSpec;Landroidx/compose/runtime/Composer;II)Ldev/chrisbanes/snapper/SnapperFlingBehavior; in class Ldev/chrisbanes/snapper/LazyListKt; or its super classes (declaration of 'dev.chrisbanes.snapper.LazyListKt' appears in ,,,
The text was updated successfully, but these errors were encountered: