https://kotlinlang.org logo
b

Bradleycorn

02/13/2021, 1:34 AM
Since updating to Alpha12, I have weird errors showing up in my IDE. Several composables like
Text
and
Scaffold
show up with red underline, and the problem says:
'Text( ... ) Unit' is only available since Kotlin 1.4.30 and cannot be used in Kotlin 1.4
First, I have my project set to use Kotlin 1.4.30, so ... what? Also, despite the "error", the project compiles and runs fine ... what gives?
i

Ian Lake

02/13/2021, 1:42 AM
b

Bradleycorn

02/13/2021, 1:43 AM
ha! I was in the middle of restarting the IDE after updating the plugin version when you posted. Indeed that takes care of the problem! Thanks!