When I try to run UI tests on my `jvm` Compose Pro...
# compose
c
When I try to run UI tests on my
jvm
Compose Project, I immediately get an exception
Copy code
'void org.jetbrains.skia.paragraph.ParagraphStyleKt._nSetTextIndent(long, float, float)'
java.lang.UnsatisfiedLinkError: 'void org.jetbrains.skia.paragraph.ParagraphStyleKt._nSetTextIndent(long, float, float)'
	at org.jetbrains.skia.paragraph.ParagraphStyleKt._nSetTextIndent(Native Method)
	at org.jetbrains.skia.paragraph.ParagraphStyleKt.access$_nSetTextIndent(ParagraphStyle.kt:1)
	at org.jetbrains.skia.paragraph.ParagraphStyle.setTextIndent(ParagraphStyle.kt:182)
	at androidx.compose.ui.text.platform.ParagraphBuilder.textStyleToParagraphStyle(SkiaParagraph.skiko.kt:776)
	at androidx.compose.ui.text.platform.ParagraphBuilder.build(SkiaParagraph.skiko.kt:566)
	at androidx.compose.ui.text.platform.ParagraphLayouter.<init>(ParagraphLayouter.skiko.kt:71)
as soon as the Composable under test contains a
Text(String)
, so this fails:
Copy code
class ComposeTest {
    @get:Rule
    val composeTestRule = createComposeRule()
    @Test
    fun firstTest() {
        composeTestRule.setContent {
            Text("Hello")
        }
    }
}
whereas this does not:
Copy code
class ComposeTest {
    @get:Rule
    val composeTestRule = createComposeRule()
    @Test
    fun firstTest() {
        composeTestRule.setContent {
            Button({}){}
        }
    }
}
Does anyone have an idea what the problem could be?