Hello compose resources should be able to ignore Density folder not specified.
For example we only had:
drawable-mdpi
drawable-xhdpi
drawable-xxhdpi
But the generated code has: 🧵
So we experienced crashes because compose resources was looking for resources under
drawable
which we did not provide
k
Konstantin Tskhovrebov
05/16/2024, 3:52 PM
i checked and I don't see the problem
c
Cherrio LLC
05/16/2024, 4:27 PM
We encountered this:
Copy code
java.lang.IllegalStateException: Resource with ID='drawable:onboarding_image1' not found
at org.jetbrains.compose.resources.ResourceEnvironmentKt.getPathByEnvironment(ResourceEnvironmentKt:67)
at org.jetbrains.compose.resources.ImageResourcesKt.painterResource(ImageResourcesKt:53)