https://kotlinlang.org logo
#compose
Title
# compose
m

Mehdi Haghgoo

08/10/2020, 3:36 AM
What does this mean "Class 'androidx.compose.ui.Modifier' is compiled by a new Kotlin compiler backend and cannot be loaded by the old compiler"? I am already using the latest kotlin compiler 1.4.0-rc. I don't understand.
j

jim

08/10/2020, 1:38 PM
Probably you're missing the 
-Xallow-jvm-ir-dependencies
 as per the "declaring dependencies" section of the release notes: https://developer.android.com/jetpack/androidx/releases/compose#declaring_dependencies
❤️ 1
m

Mehdi Haghgoo

08/10/2020, 3:13 PM
I was doing that in project-level build.gradle 😑🙈
4 Views