https://kotlinlang.org logo
a

allan.conda

01/22/2021, 9:59 AM
We’re getting this non-sensical crash. Just a wild guess that this is compose-related. Any ideas what could be the cause? This doesn’t crash on my environment, but it does from another computer.
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.SomeScreen.SomeScreenKt$SectionTitle$1" on path: DexPathList[[zip
j

jim

01/22/2021, 10:55 AM
Doesn't sound Compose related per se. My intuition is to ensure the code on your other machine is exactly the same, and that you've deleted all your build outputs and killed any kotlin/gradle daemons, and cleared your gradle caches (all
.gradle
files in your project directory and home directory) before doing a build to see if that helps.
a

allan.conda

01/22/2021, 10:57 AM
I see. A clean build didn’t help, it might be a gradle cache issue. Thanks for responding!
2 Views