Join Slack
Communities
Powered by
Android preview in fleet never works for me i alwa...
# fleet
t
Taha
10/21/2024, 8:27 AM
Android preview in fleet never works for me i always see a blank preview window, did anyone face this issue ? any ideas?
Taha
10/21/2024, 8:28 AM
message has been deleted
Taha
10/21/2024, 8:29 AM
Desktop preview works fine tho
a
Andy Dent
10/21/2024, 11:28 AM
We had a couple of threads recently discussing this.
https://kotlinlang.slack.com/archives/C3PQML5NU/p1728446264532449
https://kotlinlang.slack.com/archives/C063G2ZBF8V/p1729062637123579
Summary:
Pay very close attention to toml warnings -
some combination of updates may be key to making things work.
Only
use Gradle and AGP versions mentioned in the Fleet blog posts or release notes. My sample here is working fine previewing Android and Desktop choices in Fleet
https://github.com/AndyDentFree/kotlyrical/tree/main/PreviewablePic
thank you color
1
Andy Dent
10/21/2024, 11:32 AM
https://medium.com/geekculture/jetpack-compose-previewparameter-causes-preview-to-disappear-296cf9423207
lists another possibility of private classes causing failure without error
4
Views
Open in Slack
Previous
Next