https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
t

Trey

11/22/2023, 3:16 AM
I'm using the latest template from the KMP Compose Template generator on JetBrains site. I'm seeing this issue now. Any ideas on how to determine what is causing it? It is preventing my images from loading.
Copy code
Duplicate content roots detected
Path [/Users/tale/Projects/ComposeTest/composeApp/src/commonMain/resources] of module [ComposeTest.composeApp.commonMain] was removed from modules [ComposeTest.composeApp.main]
Actually, I figured out that svg aren't supported directly right now. I had to convert to xml by using the "add vector" wizard for Android. Then I was able to get my images to load. I'm still curious to know how to get rid of this duplicate content roots path error.
👀 1
a

Aleksey Zamulla

12/12/2023, 9:13 AM
It's a warning about an auto-applied fix. As far as I know, it's hard to get rid of the warning, but nothing to worry about.
👍 1
3 Views