Does someone know where the bytecode .class files ...
# compose-desktop
m
Does someone know where the bytecode .class files of the Compose Previews (we use Compose Multiplatform) get cached? I had a weird issue this week, appearing multiple times, where I would change some Compose code, but the Previews ran into weird NoClassDefFoundErrors (among others), when the code actually compiled fine. I then cleaned everything, and also recompiled everything with the Gradle arg
--no-build-cache
, even stopped the Gradle daemon - but whatever I did, the Compose preview did not get fixed (even though the app ran fine). Simply hitting ‘Build & Refresh’ did not fix it. But weirdly, the ‘Repair IDE’ option did not work for me - even after invalidating caches and restarting. Is this bytecode stored in a special place I’m not aware of, or is there some incremental compilation involved here that might break things?
Nevermind, it turned out to not be a caching issue, but I actually had a problem in the preview code. So 'Build & Refresh' should have actually resolved it.
🍺 1