Brendan Weinstein
01/08/2020, 8:46 PMNoSuchMethodError
.
java.lang.NoSuchMethodError: No static method runBlocking$default(Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Ljava/lang/Object; in class Lkotlinx/coroutines/BuildersKt; or its super classes (declaration of 'kotlinx.coroutines.BuildersKt' appears in /data/app/build-acBhKAw8srVGmPVxba9HCw==/base.apk!classes2.dex)
I have defined rules for testProguardFiles
to do nothing and I have redeclared the coroutines dependency with androidTestImplementation
. Is there a way to force the test code to use a separate classpath for coroutines? Or what's the recommended way to resolve?Brendan Weinstein
01/08/2020, 10:56 PMBrendan Weinstein
01/08/2020, 11:20 PM