-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
When updating projects to the Compose BOM 2025.09.01, Showkase crashes on launch.
This is due to the Compose Material library moving the Icons set into a separate Gradle dependency starting in newer BOM versions.
Workaround
Projects can add the separate dependency to their app module:
// In gradle/libs.versions.toml
androidx-compose-material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended" }
// In app/build.gradle.kts
dependencies {
implementation(libs.androidx.compose.material.icons.extended)
}Proposed Fix
Showkase should include the material-icons dependency itself (or at least material-icons-core) to prevent this crash, since the library relies on Material Icons for
its UI.
Environment
- Showkase version: 1.0.5
- Compose BOM: 2025.09.01
- Android Gradle Plugin: 8.13.0
Stack Trace
Process: com.turo.pedal.showcase, PID: 4597
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/compose/material/icons/Icons$Filled;
at com.airbnb.android.showkase.ui.ComposableSingletons$ShowkaseBrowserAppKt$lambda$293949828$1.invoke(ShowkaseBrowserApp.kt:387)
at com.airbnb.android.showkase.ui.ComposableSingletons$ShowkaseBrowserAppKt$lambda$293949828$1.invoke(ShowkaseBrowserApp.kt:386)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:121)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:51)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:390)
at androidx.compose.material.IconButtonKt.IconButton(IconButton.kt:76)
at com.airbnb.android.showkase.ui.ShowkaseBrowserAppKt.ShowkaseAppBarActions(ShowkaseBrowserApp.kt:381)
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.compose.material.icons.Icons$Filled"
jacobras, vbura-kb and okynk
Metadata
Metadata
Assignees
Labels
No labels