kenkyee
05/26/2023, 7:01 PMkenkyee
05/26/2023, 7:01 PM'void kotlinx.coroutines.test.TestBuildersKt.runTest$default(kotlinx.coroutines.test.TestScope, long, kotlin.jvm.functions.Function2, int, java.lang.Object)'
java.lang.NoSuchMethodError: 'void kotlinx.coroutines.test.TestBuildersKt.runTest$default(kotlinx.coroutines.test.TestScope, long, kotlin.jvm.functions.Function2, int, java.lang.Object)'
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.withTestCoroutines(ComposeUiTest.android.kt:366)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.access$withTestCoroutines(ComposeUiTest.android.kt:228)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1$1.invoke(ComposeUiTest.android.kt:320)
at androidx.compose.ui.test.junit4.IdlingStrategy.withStrategy(IdlingStrategy.android.kt:52)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1$1.invoke(ComposeUiTest.android.kt:319)
at androidx.compose.ui.test.junit4.IdlingResourceRegistry.withRegistry(IdlingResourceRegistry.jvm.kt:157)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment$runTest$1.invoke(ComposeUiTest.android.kt:318)
at androidx.compose.ui.test.junit4.ComposeRootRegistry.withRegistry(ComposeRootRegistry.android.kt:146)
at androidx.compose.ui.test.AndroidComposeUiTestEnvironment.runTest(ComposeUiTest.android.kt:317)
Alex Vanyo
05/26/2023, 7:09 PMrunTest
was using: https://github.com/Kotlin/kotlinx.coroutines/issues/3673kenkyee
05/26/2023, 7:21 PMAlex Vanyo
05/26/2023, 7:44 PM1.5.0-beta02
yet? That is indeed a new class first introduced in androidx.core
1.11.0-alpha04
, but on the latest Compose versions that should be brought in automaticallykenkyee
05/26/2023, 7:45 PMAlex Vanyo
05/26/2023, 7:49 PM1.5.0-beta01
?kenkyee
05/26/2023, 7:53 PMAlex Vanyo
05/26/2023, 8:04 PMAlex Vanyo
05/26/2023, 8:27 PMkenkyee
05/26/2023, 8:30 PMAlex Vanyo
05/26/2023, 9:04 PMkenkyee
05/26/2023, 9:05 PM