I am trying to use an image resource placed under ...
# getting-started
s
I am trying to use an image resource placed under the
commonMain
directory in CMP. Can someone suggest what else I need to add? Thankyou!
r
Did you build ? Reference comes after build
👌 1
s
I'm comparing your setup to the sample in "Setup and configuration for multiplatform resources". I believe you need to move the
composeResources
folder up one directory so it is a child of
commonMain
rather than
kotlin
https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-multiplatform-resources-setup.html