I'm trying to update project here (that's using dev13 of Compose) to 1.4-M2 but getting
Copy code
Class 'kotlin.Unit' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
I'm using AS 4.2 Canary 1.....and if I just use new project option to create "Empty Compose Activity" I see same issue (it also creates project with dev13 of Compose and Kotlin 1.4-M2). If I create say basic fragment/viewmodel project then it builds/runs fine. Anyone else seeing this?
John O'Reilly
06/13/2020, 12:12 PM
if I run
./gradlew :app:dependencies
(for new project created by AS) then I see that Compose libraries have dependency on stdlib 1.3.70 which is "resolved" to 1.4-M2