Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #3
🥰
ap...@google.com <ap...@google.com> #4
Ime is not necessary part of repro, relayout does it.
@Composable
private fun TextCrash() {
val infiniteTransition = rememberInfiniteTransition(label = "infinite transition")
val padding by infiniteTransition.animateFloat(
initialValue = 0f,
targetValue = 50f,
animationSpec = infiniteRepeatable(tween(1000), RepeatMode.Reverse),
label = "I like to move it move it"
)
Box(
modifier = Modifier
.padding(padding.toInt().dp)
.fillMaxSize(),
contentAlignment = Alignment.Center
) {
Column(verticalArrangement = Arrangement.spacedBy(12.dp)) {
Text(
text = "Hello Android!".repeat(5),
textAlign = TextAlign.Center,
letterSpacing = 1.sp,
overflow = TextOverflow.Ellipsis,
maxLines = 1
)
}
}
}
ap...@google.com <ap...@google.com> #5
This is the minimal TextStyle to repro
ap...@google.com <ap...@google.com> #6
TextStyle(
textAlign = TextAlign.Center,
letterSpacing = 1.sp,
lineHeight = 24.sp,
lineHeightStyle = LineHeightStyle(
alignment = LineHeightStyle.Alignment.Center,
trim = LineHeightStyle.Trim.None,
mode = LineHeightStyle.Mode.Fixed
),
)
ap...@google.com <ap...@google.com> #7
Fix coming. Will see if I can get it into 1.8-beta01.
ap...@google.com <ap...@google.com> #8
Amazing! That was super quick)
Description
Until now all desugared library versions have worked with all AGP version from 4.0. However from upcoming version 1.2.0 AGP 7.3 will be needed.
This should be documented, and the error message from D8/R8 should include a link to a table showing which compiler version is required for which desugared library version.