mattinger
10/08/2025, 3:19 PMError: The apk for your currently selected variant cannot be signed. Please specify a signing configuration for this variant (debug).
I've even tried adding a debug signing key by adding the keystore and doign this in the app module:
signingConfigs {
getByName("debug") {
storeFile = rootProject.file("keystore/debug.keystore")
storePassword = "xxxxx"
keyAlias = "xxxxx"
keyPassword = "xxxxx"
}
}
buildTypes {
getByName("debug") {
signingConfig = signingConfigs.getByName("debug")
}
}
But it still shows the same error. Does anyone have any idea how to resolve this and/or what changed recently to cause this?Tlaster
10/09/2025, 3:45 AMSceneStrategy<T>.then will cause infinite loop and the app will crash, seems like this line cause the issue.bryankeltonadams
10/10/2025, 12:30 AMeygraber
10/10/2025, 4:14 PMLookaheadPassDelegate.forEachChildAlignmentLinesOwner (via material3 Scaffold). Is this because nav3 is pulling in some alpha Compose artifacts, but others are on stable?Poulastaa
10/11/2025, 7:23 PMTgo1014
10/16/2025, 9:08 AMFergus Hewson
10/16/2025, 5:39 PMbj0
10/23/2025, 8:30 PMExposedDropdownMenuBox, it just started throwing an exception:
java.lang.IllegalStateException: No OnBackPressedDispatcherOwner was provided via LocalOnBackPressedDispatcherOwner
at androidx.activity.compose.BackHandlerKt.BackHandler(BackHandler.kt:97)
at androidx.compose.material3.internal.BackHandler_androidKt.BackHandler(BackHandler.android.kt:26)
at androidx.compose.material3.ExposedDropdownMenuKt.ExposedDropdownMenuBox(ExposedDropdownMenu.kt:247)
I'm not familiar with OnBackPressedDispatcherOwner or BackHandler, is it supposed to be set automatically or is it something I have to explicitly set now
I'm using compose inside a ComposeView because I have to run inside some legacy views.starke
10/24/2025, 6:58 PMIME_FLAG_NO_PERSONALIZED_LEARNING flag for a compose TextField to enable the incognito keyboard? 🤔alexhelder
10/27/2025, 9:50 PMArchie
11/05/2025, 2:36 PMNavDisplay . Am I wrong to think that common ui could be defined inside custom scenes instead?
Or is it better to defined the common ui on each destination and do SharedElementTransition on destination switching?
Whats the correct approach for this case? Thanks in advance.Guyaume Tremblay
11/10/2025, 5:53 PMEdgars Malahovskis
11/10/2025, 8:12 PMRene Win
11/12/2025, 1:48 PMColton Idle
11/12/2025, 5:07 PMSingleChoiceSegmentedButtonRow from m3. My team got a report back from an accessibility audit service saying that the buttons in the row should announce the name of the overall group that they're in. I don't see an api for that. Am I missing something?
My impl is basically copy pasted from the compose samples:
fun SegmentedButtonSingleSelectSample() {
var selectedIndex by remember { mutableStateOf(0) }
val options = listOf("Day", "Month", "Week")
SingleChoiceSegmentedButtonRow {
options.forEachIndexed { index, label ->
SegmentedButton(
shape = SegmentedButtonDefaults.itemShape(index = index, count = options.size),
onClick = { selectedIndex = index },
selected = index == selectedIndex
) { Text(label) } } }} //moved closing braces to one line to save linesbryankeltonadams
11/12/2025, 6:37 PMproperties = ModalBottomSheetProperties(
shouldDismissOnBackPress = true
)
but that just makes the back button do nothing, can't use backHandlers or anything. I also still want the swipe to dismiss to fully dismiss so I'm not sure if there's a combo of messing with confirmValueChange + onDismissRequest that works for this situation.bryankeltonadams
11/12/2025, 7:37 PMbryankeltonadams
11/12/2025, 11:53 PMBottomSheetDefaults.windowInsets now includes <http://WindowInsets.safeDrawing.Top|WindowInsets.safeDrawing.Top>. (I0ab67, b/321877275, b/336962418, b/342093067)
This just makes it so the sheet is automatically padded by the statusBars, but I've been applying a color to my full screen content and not the sheet background color itself. I can fix it by setting WindowInsets(0.dp,0.dp,0.dp,0.dp) on the sheet and then consuming the WindowInsets on the content.bryankeltonadams
11/13/2025, 10:07 PMPablo
11/14/2025, 9:39 AMval lifecycleOwner = LocalLifecycleOwner.current
LaunchedEffect(lifecycleOwner) {
lifecycleOwner.lifecycle.repeatOnLifecycle(Lifecycle.State.RESUMED) {
while (isActive) {
vm.populateData()
delay(5_000) // every 5 seconds
}
}
}Colton Idle
11/14/2025, 9:00 PMBradleycorn
11/19/2025, 6:19 PM@Composable
fun ImmersiveContent() {
val view = LocalView.current
DisposableEffect(Unit) {
val window = (view.context as? Activity)?.window ?: return@DisposableEffect onDispose {}
val insetsController = WindowCompat.getInsetsController(window, view)
// Enable immersive mode
insetsController.apply {
hide(WindowInsetsCompat.Type.systemBars())
systemBarsBehavior = WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
}
// Restore when composable leaves
onDispose {
insetsController.show(WindowInsetsCompat.Type.systemBars())
}
}
// Your content here
}eygraber
11/20/2025, 2:47 AMandroidx.compose.ui:ui-tooling in all modules that have previews, or if there is one module that depends on it in the project it should be good enough?
I tried removing it from some modules, and previews seem to be working without it.Colton Idle
11/20/2025, 6:03 PMColton Idle
11/20/2025, 6:24 PMColton Idle
11/20/2025, 11:34 PMcomposeTestRule.onNodeWithText("Localized Description") select the inner icon, or the outer button?mohamed rejeb
11/23/2025, 12:25 PMMini
11/25/2025, 1:56 PMJonathan
11/26/2025, 4:38 AMNavHost) where you’re unable to return to a given “top level destination” after navigating to another “top level destination” with route args? To exit this erroneous state, you must manually pop the top-most “top level destination” from the back stack then everything works as it should. I’m able to reproduce this bug in the Now In Android app so I know it’s not a bug unique to my app/implementation. If anyone has any insights on how to work around this bug it would be more than appreciated.Colton Idle
11/26/2025, 6:25 PM