https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
a

Akram Bensalem

09/30/2022, 8:25 AM
Why my app can't recognise resources in common module (neither commonMain or desktopMain) ? It's just recognise resource in the desktop module !!! Is there any solution for this ?
m

Michael Paus

09/30/2022, 9:57 AM
I have all my resources in a common folder and it works. You have to place your icon in
commonMain/resources/drawable/icon.png
.
l

Long Tran

09/30/2022, 5:03 PM
@Akram Bensalem removes the first ‘/‘ from your resource path, it should work.
a

Akram Bensalem

09/30/2022, 5:18 PM
I still have the same problem