-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Environment Information
- Package version(s): 0.3.9
- Android SDK version: (fill this out if relevant)
Please provide a reproduction of the bug:
New project use com.microsoft.fluentui:FluentUIAndroid:0.3.9,
create a CheckBox with checked = true, (or toggled to true later), app crashes.
Actual behavior:
App crashes with log:
FATAL EXCEPTION: main (Ask Gemini)
Process: com.microsoft.fluentuidemo, PID: 7688
java.lang.NoSuchMethodError: No static method Icon-3f6hBDE(Landroidx/compose/ui/graphics/vector/ImageVector;Ljava/lang/String;Landroidx/compose/ui/Modifier;ZJZLkotlin/jvm/functions/Function0;Landroidx/compose/runtime/Composer;II)V in class Lcom/microsoft/fluentui/theme/token/FluentIconKt; or its super classes (declaration of 'com.microsoft.fluentui.theme.token.FluentIconKt' appears in /data/app/~~jV0Fz51Y87uzATHhzQwUzg==/com.microsoft.fluentuidemo-tAWIAkmGN08kMNEyMeebUg==/base.apk!classes10.dex)
at com.microsoft.fluentui.tokenized.controls.CheckboxKt$CheckBox$2$1.invoke(Checkbox.kt:115)
at com.microsoft.fluentui.tokenized.controls.CheckboxKt$CheckBox$2$1.invoke(Checkbox.kt:114)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:118)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.animation.AnimatedVisibilityKt.AnimatedEnterExitImpl(AnimatedVisibility.kt:818)
at androidx.compose.animation.AnimatedVisibilityKt$AnimatedEnterExitImpl$4.invoke(Unknown Source:27)
at androidx.compose.animation.AnimatedVisibilityKt$AnimatedEnterExitImpl$4.invoke(Unknown Source:10)
at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:192)
at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2556)
at androidx.compose.runtime.ComposerImpl.skipToGroupEnd(Composer.kt:2850)
at androidx.compose.animation.AnimatedVisibilityKt.AnimatedVisibilityImpl(AnimatedVisibility.kt:761)
at androidx.compose.animation.AnimatedVisibilityKt.AnimatedVisibility(AnimatedVisibility.kt:135)
at com.microsoft.fluentui.tokenized.controls.CheckboxKt.CheckBox(Checkbox.kt:114)
at com.microsoft.fluentuidemo.demos.V2BasicControlsActivity$onCreate$1.invoke(V2BasicControlsActivity.kt:147)
at com.microsoft.fluentuidemo.demos.V2BasicControlsActivity$onCreate$1.invoke(V2BasicControlsActivity.kt:54)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at com.microsoft.fluentuidemo.V2DemoActivity$onCreate$1$1$2.invoke(V2DemoActivity.kt:253)
at com.microsoft.fluentuidemo.V2DemoActivity$onCreate$1$1$2.invoke(V2DemoActivity.kt:246)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:118)
at androidx.compose.runtime.internal.ComposableLambdaImpl$invoke$1.invoke(ComposableLambda.jvm.kt:130)
at androidx.compose.runtime.internal.ComposableLambdaImpl$invoke$1.invoke(ComposableLambda.jvm.kt:129)
at androidx.compose.runtime.RecomposeScopeImpl.compose(RecomposeScopeImpl.kt:192)
at androidx.compose.runtime.ComposerImpl.recomposeToGroupEnd(Composer.kt:2556)
at androidx.compose.runtime.ComposerImpl.skipCurrentGroup(Composer.kt:2827)
at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3314)
at androidx.compose.runtime.ComposerImpl.recompose$runtime_release(Composer.kt:3265)
at androidx.compose.runtime.CompositionImpl.recompose(Composition.kt:938)
at androidx.compose.runtime.Recomposer.performRecompose(Recomposer.kt:1155)
at androidx.compose.runtime.Recomposer.access$performRecompose(Recomposer.kt:127)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:583)
at androidx.compose.runtime.Recomposer$runRecomposeAndApplyChanges$2$1.invoke(Recomposer.kt:551)
at androidx.compose.ui.platform.AndroidUiFrameClock$withFrameNanos$2$callback$1.doFrame(AndroidUiFrameClock.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher.performFrameDispatch(AndroidUiDispatcher.android.kt:109)
at androidx.compose.ui.platform.AndroidUiDispatcher.access$performFrameDispatch(AndroidUiDispatcher.android.kt:41)
at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.doFrame(AndroidUiDispatcher.android.kt:69)
Expected behavior:
App should not crash when check box is checked. It's a simple scenario. Need automation testcase to cover it.
Priorities and help requested:
Are you willing to submit a PR to fix? (Yes, No) Not sure, depends on compile patterns.
Requested priority: (Blocking, High, Normal, Low), High
Products/applications affected: (if applicable), Windows App Android.
Metadata
Metadata
Assignees
Labels
No labels