How I can get Kotlin 1.4.30 for AS Canary 7?
# compose
i
How I can get Kotlin 1.4.30 for AS Canary 7?
j
Isn't the latest version "ARCTIC FOX (2020.3.1) CANARY 6". Are you talking about the last generation of AndroidStudio (4.2 C7 or something?). I'd recommend upgrading to Arctic Fox if you haven't already. Compose often uses bleeding edge features, and your experience is going to be much better if you're keeping up with the latest Studios and AGPs.
i
Oh right, "ARCTIC FOX (2020.3.1) CANARY 6"
j
You should be able to open "Preferences" > "Languages & Frameworks" > "Kotlin", and then change the "Update Channel"
i
to EAP 1.4x?
j
Yeah
last I checked I think they were in an RC that still had a couple of bugs though
also, if you enable 1.5 language and api features, you would want to be on the 1.5 eap branch
v
As I see it needs to suppress KotlinVersionCompatibilityCheck
Copy code
freeCompilerArgs += ["-Xallow-jvm-ir-dependencies",
                     "-P",
                     "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
]
to debug a project.