fengdai
08/31/2022, 3:18 AMLineHeightStyle(
alignment = LineHeightStyle.Alignment.Center,
trim = LineHeightStyle.Trim.None
)
with this error message:
java.lang.NoSuchMethodError: No virtual method getCenter-PIaL0Z0()I in class Landroidx/compose/ui/text/style/LineHeightStyle$Alignment$Companion; or its super classes
Colton Idle
08/31/2022, 11:33 AMfengdai
09/01/2022, 12:55 AMui-text
module explicitly, the problem gone.Colton Idle
09/01/2022, 1:58 AMfengdai
09/01/2022, 2:04 AMfengdai
09/01/2022, 2:14 AMLineHeightStyle.Alignment
comparing with 1.2.x’s. I didn’t specify ui-text
module explicitly before. Gradle/AGP might use the old version(1.2.0, transitive of higher level module) of ui-text
for release build and made this crash happen. (Not very sure)Colton Idle
09/01/2022, 2:34 AMHalil Ozercan
09/01/2022, 4:03 PMfengdai
09/06/2022, 1:19 AM