https://kotlinlang.org logo
Title
p

Pierfrancesco Gulinelli

09/16/2020, 12:45 PM
I'm not able to see view dsl preview with beta01. So i have reverted alpha07. The design preview remains white.
l

louiscad

09/16/2020, 12:49 PM
Hello @Pierfrancesco Gulinelli, are you using xml or code based IDE preview ?
Also, did you ensure the project is built? And last thing, if you use Views DSL, you need to use Kotlin 1.4 for beta01 as well, or use alpha07 for Kotlin 1.3
p

Pierfrancesco Gulinelli

09/16/2020, 1:03 PM
I use code based IDE preview: Android studio 4.0 with Kotlin 1.4.0 and jdk8 desugaring. So i have tried to remove all these options and only reverting to alpha07 i have resolved.
l

louiscad

09/16/2020, 1:03 PM
The project is updated to Kotlin 1.4.10 as well or is it just the IDE plugin?
p

Pierfrancesco Gulinelli

09/16/2020, 1:16 PM
i have updated to 1.4.10 gradle plugin and kotlin library. Same result