https://kotlinlang.org logo
#compose
Title
# compose
j

Joel Morales

05/16/2022, 8:57 PM
Hello, I am working on automated testing for compose layouts, after adding the necessary libraries and getting my first test working I am seeing a NoSuchMethodError that I think is related to proguard in my release build, but I am not sure so I am wondering if anyone has seen a similar issue before, posting full error description in thread
Copy code
java.lang.NoSuchMethodError: No interface method complete()Z in class Lkotlinx/coroutines/CompletableJob; or its super classes (declaration of 'kotlinx.coroutines.CompletableJob' appears in /data/app/com.myApp-B7j7XiPcfpfDkJP26YGIew==/base.apk:classes8.dex)
at androidx.compose.ui.test.junit4.IdlingResourceRegistry.<init>(IdlingResourceRegistry.jvm.kt:47)
at androidx.compose.ui.test.junit4.IdlingResourceRegistry.<init>(IdlingResourceRegistry.jvm.kt:38)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule.<init>(AndroidComposeTestRule.android.kt:163)
at androidx.compose.ui.test.junit4.AndroidComposeTestRule_androidKt.createAndroidComposeRule(AndroidComposeTestRule.android.kt:104)
at com.myApp.tests.LoginMobileTests.<init>(LoginMobileTests.kt:22)
4 Views