Skip to content

Incompatibility with kotlinx.coroutines 0.16 #16

@LouisCAD

Description

@LouisCAD

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions