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
DatePicker crashes on compose=1.1.1 #138
Comments
Works for me with compose-1.1.1 and compose-runtime-1.1.1 but not compose-runtime-1.2.0-alpha05. |
Is there any workaround for this? |
Try with compose runtime set to 1.1.1, that is the "runtime", as a separate dependency library. |
This had the same error
|
try... something like... adjust for what you don't need..
with
|
Still results in the same error.... |
I'm using these gradle plugin versions?
These library versions:
These other JVM options...
Not sure what else to suggest... If I use the alpha version of compose_runtime... I get that error. Setting it to 1.1.1 is working ok. |
Thanks for all you help, but still no bueno. Same error. Here is my application of your versions. Project-level build.gradle:
App-level build.gradle
|
Actually I haven't this problem.. I was wrong about @srseibs , if you still have such an error, try to check that |
Stacktrace:
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/foundation/lazy/GridCells$Fixed; at com.vanpra.composematerialdialogs.datetime.date.DatePickerKt.DayOfWeekHeader(DatePicker.kt:377) at com.vanpra.composematerialdialogs.datetime.date.DatePickerKt.CalendarView(DatePicker.kt:306) at com.vanpra.composematerialdialogs.datetime.date.DatePickerKt.access$CalendarView(DatePicker.kt:1) at com.vanpra.composematerialdialogs.datetime.date.DatePickerKt$DatePickerImpl$1$1.invoke(DatePicker.kt:141) at com.vanpra.composematerialdialogs.datetime.date.DatePickerKt$DatePickerImpl$1$1.invoke(DatePicker.kt:118) ...
The reason is that in
1.1.1
GridCells was moved to.grid
subpackage (and btw became stable).(
old: https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/GridCells
new: https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/grid/GridCells
)
compose-material-dialogs version: 0.7.0
UPDATE: Actually I haven't this problem.. I was wrong about
1.1.1
compose version, I used1.2.0-alpha05
.. 🙈The text was updated successfully, but these errors were encountered: