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

Rihards

07/05/2022, 11:45 AM
Hi! Is there any way to get Compose previews with Compose Ui version 1.2.0-rc03? I have tried to update all compose libraries by checking advices in stackoverflow and this channel, but nothing really helped. Only turning back to stable 1.1.1 version seemed as an option so far, but can’t use that because of methods that are being used in higher versions.😑
1
k

kotlinforandroid

07/05/2022, 11:51 AM
rc-02 works for me. rc-03 misses the compiler I think and thus does not work.
f

Filip Wiesner

07/05/2022, 11:53 AM
What Android Studio version are you using? Try the Beta or Canary versions if you are on stable. (related thread)
r

Rihards

07/05/2022, 11:56 AM
f

Filip Wiesner

07/05/2022, 11:59 AM
Try the Beta or Canary versions
r

Rihards

07/05/2022, 11:59 AM
Okay, will try a bit later. Thank You!👍
@Filip Wiesner thanks for the help - beta version works fine.
👌 1
f

Filip Wiesner

07/05/2022, 5:07 PM
There is also a dependency fix mentioned in the thread I linked but the Beta Android Studio is fine so I wouldn't bother with that.
2 Views