I'm having a really bad experience with compose li...
# android-studio
m
I'm having a really bad experience with compose live preview in AS Hedgehog. Even changing a string requires me to rebuild the preview manually
c
What version of Compose and AGP are you using?
And is this in Canary 9 or 10?
m
Compose 1.4.0 AGP 7.4.1 Canary 6
c
I think we had resource loading issues then, so if you can test out a more recent canary that would be helpful
m
Hi, sorry for taking so long to answer. I'm having the same issue with the latest Canary 10
Screenshot 2023-07-02 at 9.15.00 PM.png
c
Do you have a snippet to share that we can use to repro?
m
Well the problem is happening for me with every project, it's not related to a specific code. Btw I have jetpack compose deps but I'm applying the compose multiplatform plugin as well
Recently I'm adding compose multiplatform to every single project that's why I'm having this problem. I tried with a project containing just jetpack compose and it works fine. Thanks
c
I see. Yes Preview will only work with Compose for Android at this time
Preview in Android Studio is a different implementation than the one built by JetBrains for multiplatform
j
Is there any plan to unify the implementaion?
c
No concrete plans at this time