Just in case someone else runs into that issue: ...
# ktor
j
Just in case someone else runs into that issue: I spent 10 hours figuring out why compiling an android app using ktor out of the sudden failed with
Copy code
> Could not resolve all files for configuration ':app:myVariantRuntimeClasspath'.
         > Failed to transform ktor-client-core-jvm-1.5.4.jar (io.ktor:ktor-client-core-jvm:1.5.4) to match attributes {artifactType=android-asm-instrumented-jars, asm-transformed-variant=myVariant, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}.
            > Execution failed for AsmClassesTransform: /home/runner/.gradle/caches/transforms-3/e1c60072a482c904137c4b00530cd2a3/transformed/jetified-ktor-client-core-jvm-1.5.4.jar.
               > Index -1 out of bounds for length 0
Running the build with
--stacktrace
again gave me this hint:
[...] at com.google.firebase.perf.plugin [..]
👉 So it turned out the fact that adding the firebase performance plugin blows up the compile process 🤷
👍 3