https://kotlinlang.org logo
#coroutines
Title
# coroutines
s

spierce7

10/23/2018, 7:25 PM
I'm seeing some issues with the given proguard file for latest version kotlinx.coroutines for Android. Any idea where I can find a proper pro-guard definition?
Copy code
Warning: kotlinx.coroutines.io.ReaderJob$DefaultImpls: can't find referenced method 'java.lang.Throwable getCompletionException(kotlinx.coroutines.Job)' in program class kotlinx.coroutines.Job$DefaultImpls
Warning: kotlinx.coroutines.io.ReaderScope$DefaultImpls: can't find referenced class kotlinx.coroutines.CoroutineScope$DefaultImpls
Warning: kotlinx.coroutines.io.ReaderScope$DefaultImpls: can't find referenced class kotlinx.coroutines.CoroutineScope$DefaultImpls
Warning: kotlinx.coroutines.io.WriterJob$DefaultImpls: can't find referenced method 'java.lang.Throwable getCompletionException(kotlinx.coroutines.Job)' in program class kotlinx.coroutines.Job$DefaultImpls
Warning: kotlinx.coroutines.io.WriterScope$DefaultImpls: can't find referenced class kotlinx.coroutines.CoroutineScope$DefaultImpls
Warning: kotlinx.coroutines.io.WriterScope$DefaultImpls: can't find referenced class kotlinx.coroutines.CoroutineScope$DefaultImpls
Warning: kotlinx.coroutines.time.TimeKt: can't find referenced class kotlinx.coroutines.ScheduledKt
Warning: kotlinx.coroutines.time.TimeKt: can't find referenced class kotlinx.coroutines.ScheduledKt
Warning: kotlinx.coroutines.time.TimeKt: can't find referenced class kotlinx.coroutines.ScheduledKt
l

louiscad

10/23/2018, 8:22 PM
Which version?
s

spierce7

10/23/2018, 8:39 PM
latest version
j

jw

10/23/2018, 8:44 PM
looks like you might have two versions: one on the library classpath and one on the program classpath
don't suppose you're using AGP 3.3 or newer?
6 Views