https://kotlinlang.org logo
#ktor
Title
# ktor
a

Artem Chepurnoy

01/04/2022, 11:00 AM
Hello, Using the
ktor:2.0.0-beta-1
on Android 5.0 I'm getting a crash:
Copy code
java.lang.NoSuchMethodError: No virtual method position(I)Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; or its super classes (declaration of 'java.nio.ByteBuffer' appears in /system/framework/core-libart.jar)
        at io.ktor.utils.io.bits.MemoryJvmKt.sliceSafe(MemoryJvm.kt:212)
        at io.ktor.utils.io.bits.Memory.slice-87lwejk(MemoryJvm.kt:48)
explained here https://jira.mongodb.org/browse/JAVA-2559 Is the ktor 2.0 still compatible with Android 5.0+ or not anymore?
a

Alexandre Brown

01/04/2022, 11:37 AM
a

Aleksei Tirman [JB]

01/13/2022, 2:13 PM