-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
Description
Describe the bug
The project is currently using outdated version of many dependencies, including Compose and Glance.
This is causing crashes like the following:
java.lang.NoSuchMethodError: No static method ModalBottomSheetLayout-BzaUkTc(Lkotlin/jvm/functions/Function3;Landroidx/compose/ui/Modifier;Landroidx/compose/material/ModalBottomSheetState;Landroidx/compose/ui/graphics/Shape;FJJJLkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;II)V in class Landroidx/compose/material/ModalBottomSheetKt; or its super classes (declaration of 'androidx.compose.material.ModalBottomSheetKt' appears in /data/app/com.leinardi.ubuntucountdownwidget.debug-1/base.apk)
at com.google.android.glance.tools.viewer.ui.ViewerScreenKt.ViewerScreen-_ngmBi8(ViewerScreen.kt:118)
at com.google.android.glance.tools.viewer.AppWidgetViewerActivity$onCreate$1$1$1.invoke(GlanceViewerActivity.kt:95)
at com.google.android.glance.tools.viewer.AppWidgetViewerActivity$onCreate$1$1$1.invoke(GlanceViewerActivity.kt:94)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:108)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.material3.SurfaceKt$Surface$1.invoke(Surface.kt:133)
at androidx.compose.material3.SurfaceKt$Surface$1.invoke(Surface.kt:114)
[...]
To Reproduce
Steps to reproduce the behavior:
- Use the viewer library with the latest version of Compose and Material 3.
Expected behavior
The viewer should work as expected
Environment:
- Android OS version: API 24
- Device: Emulator
- Glance Experimental Tools version: 0.2.2
Additional context
I would be happy to work on a PR that bumps the dependencies but, before investing effort on it, I would like to have a confirmation that it would be appreciated and merged if successful.
AngelMariages, thehale, WhosNickDoglio and Nucifera8472