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

[BUG] java.lang.NoSuchMethodError: No direct method <init>(Ljava/lang/Object;Ljava/lang/Object;)V in class Landroidx/compose/animation/core/SeekableTransitionState; #349

Open
FunkyMuse opened this issue Jul 16, 2024 · 3 comments

Comments

@FunkyMuse
Copy link

FunkyMuse commented Jul 16, 2024

Describe the bug
When going back from a destination (scene) the app crashes with

To Reproduce
Use Compose multiplatform 1.7.X-alpha or dev
navigate from a destination, go back
crash, not always

Expected behavior
User should be returned to the destination safely

Minimal reproducible example
I guess that's something introduced in 1.7.X Compose multiplatform that breaks the library

stack trace is

java.lang.NoSuchMethodError: No direct method <init>(Ljava/lang/Object;Ljava/lang/Object;)V in class Landroidx/compose/animation/core/SeekableTransitionState; or its super classes (declaration of 'androidx.compose.animation.core.SeekableTransitionState' appears in /data/app/~~49ENzoh7ld7afOHMt_9WzA==/com.x.x.debug-AIZoxjVS9E177qpLp0l5xQ==/base.apk)
                                                                                                    	at moe.tlaster.precompose.navigation.NavHostKt$NavHost$6.invoke(NavHost.kt:191)
                                                                                                    	at moe.tlaster.precompose.navigation.NavHostKt$NavHost$6.invoke(NavHost.kt:140)
@Tlaster
Copy link
Owner

Tlaster commented Jul 16, 2024

Yes compose 1.7.x change the SeekableTransitionState's API, which I will update to use the new version after 1.7.x has been released.

@FunkyMuse
Copy link
Author

Yes compose 1.7.x change the SeekableTransitionState's API, which I will update to use the new version after 1.7.x has been released.

1.7.X is in alpha now, maybe a PreCompose alpha/beta release too?

@emirhanemmez
Copy link

it would be great if you fix that bug :) thanks for your effort

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

3 participants