Hey all, would anyone point me in the right direct...
# android
u
Hey all, would anyone point me in the right direction for an exception I’m seeing when running espresso tests? I’m following the robot pattern as mentioned here: https://academy.realm.io/posts/kau-jake-wharton-testing-robots/ and seeing this exception:
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/functions/Function1;
I’m using this kotlin high order function:
Copy code
feed {
        clickAddGuests()
        confirmToast()
}

fun feed(func: FeedScreenRobot.() -> Unit) { FeedScreenRobot().apply(func) }
I’ve already tried adding an exception for this in proguard but it didn’t help 😞