Lucas
06/08/2022, 3:45 PMjava.lang.NoSuchMethodError: 'int androidx.compose.ui.unit.Constraints.getMaxWidth()'
at androidx.compose.ui.window.DesktopPopup_desktopKt$PopupLayout$6$composition$1$1.measure-3p2s80s(DesktopPopup.desktop.kt:184)
when trying to Expand a simple DropdownMenu. Using version 1.1.1
DropdownMenu(
expanded = viewModel.expanded.value,
onDismissRequest = { viewModel.expanded.value = false },
) {
DropdownMenuItem(onClick = { }) {
Text("A")
}
DropdownMenuItem(onClick = { }) {
Text("B")
}
DropdownMenuItem(onClick = { }) {
Text("C")
}
}
Any clues?Igor Demin
06/08/2022, 3:53 PM./gradlew dependencyInsight --dependency org.jetbrains.compose.ui:ui
, and downgrade the version of itLucas
06/08/2022, 3:56 PMExecution failed for task ':dependencyInsight'.
> Dependency insight report cannot be generated because the input configuration was not specified.
It can be specified from the command line, e.g: ':dependencyInsight --configuration someConf --dependency someDep'
Lucas
06/08/2022, 3:56 PMIgor Demin
06/08/2022, 3:58 PMIgor Demin
06/08/2022, 4:00 PM./gradlew dependencyInsight --configuration compileClasspath --dependency org.jetbrains.compose.ui:ui
Lucas
06/08/2022, 4:03 PMLucas
06/08/2022, 4:05 PMLucas
06/08/2022, 4:13 PM