gildor / kotlin-coroutines-retrofit

Kotlin Coroutines await() extension for Retrofit Call

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incompatibility with kotlinx.coroutines 0.16

LouisCAD opened this issue · comments

Hi,

When using this library with kotlinx.coroutines version 0.16, I get the following error:

java.lang.NoSuchMethodError: No direct method <init>(Lkotlin/coroutines/experimental/Continuation;Z)V in class Lkotlinx/coroutines/experimental/CancellableContinuationImpl; or its super classes (declaration of 'kotlinx.coroutines.experimental.CancellableContinuationImpl' appears in /data/app/my.app.packagename.debug-2/base.apk)
                                                                                             at ru.gildor.coroutines.retrofit.CallAwaitKt.awaitResult(CallAwait.kt:124)

The issue may be present with version 0.15 too

Is an issue holding you back from releasing the update?

Fixed by #15, #17, #18 and #19!