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: Lib Crash when using updated depencies #4

Closed
newfla opened this issue Oct 23, 2022 · 0 comments
Closed

Bug: Lib Crash when using updated depencies #4

newfla opened this issue Oct 23, 2022 · 0 comments

Comments

@newfla
Copy link
Contributor

newfla commented Oct 23, 2022

Moving from androidx.compose.material3:material3:1.0.0-alpha12 to alpha16 or higer causes the sample-app to crash on
java.lang.NoSuchMethodError: No static method Checkbox(ZLkotlin/jvm/functions/Function1;Landroidx/compose/ui/Modifier;ZLandroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/material3/CheckboxColors;Landroidx/compose/runtime/Composer;II)V in class Landroidx/compose/material3/CheckboxKt; or its super classes (declaration of 'androidx.compose.material3.CheckboxKt' appears in /data/app/~~g7IOPf0jMHbbgA_GvkNr6g==/com.jamal.composeprefs3sample-84-PSnYoYxcVUXnlKjkgMw==/base.apk) at com.jamal.composeprefs3.ui.prefs.CheckBoxPrefKt$CheckBoxPref$3.invoke(CheckBoxPref.kt:81)

Also, switching to androidx.compose.ui:ui:>=1.3.0-beta01 causes ListPref crashes on dialog popuop

java.lang.NoSuchMethodError: No direct method <init>(ZZLandroidx/compose/ui/window/SecureFlagPolicy;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V in class Landroidx/compose/ui/window/DialogProperties; or its super classes (declaration of 'androidx.compose.ui.window.DialogProperties' appears in /data/app/~~Crks8DClae6vNeS_sqWKTA==/com.bsoftware.orariovesuviananext-bBAfyhEJl6qDPho4KhN5CA==/base.apk) at com.jamal.composeprefs3.ui.prefs.ListPrefKt.ListPref-eNFu2v0(ListPref.kt:146)

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