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

Transitions crashing after v1.0.0 migration #279

Closed
Smoothie1-ini opened this issue Dec 18, 2023 · 3 comments
Closed

Transitions crashing after v1.0.0 migration #279

Smoothie1-ini opened this issue Dec 18, 2023 · 3 comments

Comments

@Smoothie1-ini
Copy link

FATAL EXCEPTION: main
Process: com.example.trippin, PID: 5148
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/Function1;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/~~WBD_ERPbPgNZU5uhfDjM4Q==/com.example.trippin-YvVc4Vis54eUw2zK2lo7dg==/base.apk)
at cafe.adriel.voyager.transitions.ScreenTransitionKt.ScreenTransition(ScreenTransition.kt:43)
at cafe.adriel.voyager.transitions.SlideTransitionKt.SlideTransition(SlideTransition.kt:29)
at com.example.trippin.ComposableSingletons$MainActivityKt$lambda-1$1.invoke(MainActivity.kt:17)
at com.example.trippin.ComposableSingletons$MainActivityKt$lambda-1$1.invoke(MainActivity.kt:16)

@Smoothie1-ini
Copy link
Author

was working just fine in v1.0.0-rc05

@Syer10
Copy link
Contributor

Syer10 commented Dec 18, 2023

Make sure you have fully updated your Compose version with Voyager. Voyager only supports the latest stable version of Compose.

@Smoothie1-ini
Copy link
Author

Thanks a lot, migrating compose BOM to latest version fixed the issue.

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