-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Trying to use the library with Compose versions 1.7.1 and above will result in an app crash.
To Reproduce
- Try to display the dialog.
- See the following stack trace:
FATAL EXCEPTION: main
Process: com.myapp, PID: 29211
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/material/icons/Icons;
at com.vanpra.composematerialdialogs.datetime.date.DatePickerKt.CalendarViewHeader(DatePicker.kt:266)
at com.vanpra.composematerialdialogs.datetime.date.DatePickerKt.access$CalendarViewHeader(DatePicker.kt:1)
at com.vanpra.composematerialdialogs.datetime.date.DatePickerKt$DatePickerImpl$1$1.invoke(DatePicker.kt:134)
at com.vanpra.composematerialdialogs.datetime.date.DatePickerKt$DatePickerImpl$1$1.invoke(DatePicker.kt:124)
...
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.compose.material.icons.Icons" on path: DexPathList[[zip file "/data/app/~~rwJMsw9MrszunlanowPNmw==/au.com.seatfrog.icarus.dev-xtk1iU-7_ERqdGHO1XOHRg==/base.apk"],nativeLibraryDirectories=[/data/app/~~rwJMsw9MrszunlanowPNmw==/au.com.seatfrog.icarus.dev-xtk1iU-7_ERqdGHO1XOHRg==/lib/arm64, /data/app/~~rwJMsw9MrszunlanowPNmw==/au.com.seatfrog.icarus.dev-xtk1iU-7_ERqdGHO1XOHRg==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:637)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
This is caused by usage of the following files that are no longer included in the androidx.compose.material:material
package (despite no relevant release notes mentioned):
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.KeyboardArrowLeft
import androidx.compose.material.icons.filled.KeyboardArrowRight
Expected behaviour
I expect to see the dialog.
Please complete the following information about your device:
Any device, any OS.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working