V Badalyan
07/13/2020, 12:02 AMorg.jetbrains.kotlin.kotlin-compiler-embeddable-1.3.70-dev-withExperimentalGoogleExtensions-20200424
with kottlin 1.4-M2
and M3
version" ???
• clean 1.4-M2
from get brains don't compile
Caused by: java.lang.IllegalArgumentException: Call resolver must be non-null at androidx.compose.plugins.kotlin.ComposeCallResolutionInterceptorExtension.interceptCandidates(ComposeCallResolutionInterceptorExtension.kt:189)
• setting kotlinCompilerVersion = "1.3.70-dev-withExperimentalGoogleExtensions-20200424" don't work because i use IR and Progressive mode
cause error becouse i use IR and progressiveMode
Class 'com.cisystems.ssmp.arm_vmb2.controlles.workerUtils.CardsUpdateWorkerUtils' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
jim
07/13/2020, 11:09 AMis compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler...
can likely be suppressed via flags. IIRC, the relevant flags were -Xskip-prerelease-check -Xskip-metadata-version-check
but I'm not sure that's ultimately going to get you what you want.
Jetbrains is still working on their compiler, and introducing many changes to the backend IR in the process, so each Compose release is locked to specific versions of Kotlin. We're in the process of rebasing to Kotlin 1.4 (keep in mind that 1.4 is not yet stable/released). You can follow along here: https://android-review.googlesource.com/c/platform/frameworks/support/+/1350808