Hi, I updated our app's dependencies today and now...
# android
f
Hi, I updated our app's dependencies today and now our android tests are failing
java.lang.ClassNotFoundException: Didn't find class "kotlinx.coroutines.DelayWithTimeoutDiagnostics"
. We use
runTest
and thus have
androidTestImplementation(libs.kotlinx.coroutines.test)
as a dependency. Is this not a suggested combination or are we doing something wrong?
Interesting, adding
org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1
as an implementation dependency fixes it. I didn't have this before because I guess it was transitively included by some other dep. Why did this work before thought 🤔
ah maybe it's a version mismatch
Indeed it was
e
hi @Fabio Berta I'm using kotlin 1.9.0 and coroutines-test version 1.7.3. But I'm getting this error and I think it is about kotlin version. But I don't want to downgrade my kotlin version. Is there any option? Do you know about it?
146 Views