I'm facing this error while using Android studio 4.2 canary 3 and compose 0.1.0-dev14 with kotlin 1.4-M2 and getting this error while gradle building
Class 'Kotlin.Unit' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler.
Any help is appreciated.