Open abdulhamidrpn opened 2 weeks ago
I am experiencing a similar issue for VerticalPager
. I think it's because this library is using an old version of Compose.
java.lang.NoSuchMethodError: No static method VerticalPager-xYaah8o(Landroidx/compose/foundation/pager/PagerState;Landroidx/compose/ui/Modifier;Landroidx/compose/foundation/layout/PaddingValues;Landroidx/compose/foundation/pager/PageSize;IFLandroidx/compose/ui/Alignment$Horizontal;Landroidx/compose/foundation/gestures/snapping/SnapFlingBehavior;ZZLkotlin/jvm/functions/Function1;Landroidx/compose/ui/input/nestedscroll/NestedScrollConnection;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;III)V in class Landroidx/compose/foundation/pager/PagerKt; or its super classes (declaration of 'androidx.compose.foundation.pager.PagerKt' appears in /data/app/~~4qFnKiMG2dRutUIOr3G8ZA==/com.habitap.one.aiahk-OB4f6iHA5cjs91MLg95yrA==/base.apk)
at com.pratikk.jetpdfvue.VerticalVueReaderKt.VerticalVueReader(VerticalVueReader.kt:55)
This is happening due to gradle giving priority to the latest compose which your projects might be having. Will try to fix this over the weekend
https://github.com/pratikksahu/JetPDFVue/pull/5 Published new version 1.0.7 with the fix
Thank you! Was about to do a pull request with my attempt to fix the issue.
java.lang.NoSuchMethodError: No static method HorizontalPager-xYaah8o(Landroidx/compose/foundation/pager/PagerState;Landroidx/compose/ui/Modifier;Landroidx/compose/foundation/layout/PaddingValues;Landroidx/compose/foundation/pager/PageSize;IFLandroidx/compose/ui/Alignment$Vertical;Landroidx/compose/foundation/gestures/snapping/SnapFlingBehavior;ZZLkotlin/jvm/functions/Function1;Landroidx/compose/ui/input/nestedscroll/NestedScrollConnection;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;III)V in class Landroidx/compose/foundation/pager/PagerKt; or its super classes (declaration of 'androidx.compose.foundation.pager.PagerKt' appears in /data/app/~~YD7kY_gTTBXm3s2O0KA8AQ==/com.education.ekagratagkquiz-zxkvrdiXft4EQJCrmw2fTA==/base.apk)
There may be an issue with the horizontal pager. It's crashing after loading.