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

Mehdi Haghgoo

08/09/2020, 5:24 PM
Hi. On Canary 4.2 Alpha 07 I have an annoying error:
Copy code
Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib:1.4-M3
I don't have any usage of 1.4-M3 in my gradle files. My kotlin version in project level gradle file is 1.3.70. This is almost a new project and I haven't made many changes.
a

Alejandro Rios

08/09/2020, 6:11 PM
I updated compose and Kotlin version to those and now I can't see the preview of my widgets
j

John O'Reilly

08/09/2020, 6:22 PM
👍 2
m

Mehdi Haghgoo

08/09/2020, 7:04 PM
Actually the Compose team seems to have done a huge refactoring of packages. So, the problem seems to be in package names and artifact names used in gradle. I managed to fix the issue on Studio-4.2-alpha07 by following the guides on Compose release notes.
a

Alejandro Rios

08/09/2020, 8:33 PM
Is true, dev16 has a lot of refactoring
5 Views