What could be the possible reason and how to solve...
# multiplatform
s
What could be the possible reason and how to solve this error in KMP project?
c
your path to a resource contains an illegal character.
s
But I don't have any resource that contains an illegal character.
Should I also include more details?
c
there is a
provider
folder that has an illegale character at the end. see the
?
in the
provider
folder.
s
Where can I find that folder? I'm not really sure where to look.
c
it should be the parent if your
childdetailpage
folder.
s
Well, I’m not being able to find it. I've checked the build folder as well
Please help! 🙂
c
How? 😅 there is not much we can do for you. Create a new project and try to reproduce the issue.
s
But it would be too much of a headache for me, considering the project is already quite large.
🤷🏼 1
a
You put the bug in there so it is in fact your headache
It is telling you exactly where the illegal character is...
image.png
s
Yes I understand! Thanks.
j
You are doing some
provider.toString()
instead of
provider.get().toString()
or
”$provider”
instead of the correct one which is
”${provider.get()}”
s
Yes I figured that out.