Hi, I'm trying out `kotlin-multiplatform`. I can i...
# multiplatform
r
Hi, I'm trying out
kotlin-multiplatform
. I can import java dependencies and compile the project just fine. But Android Studio/Intellij failed to recognized the these dependencies. Is anyone running into the same issue?
n
Sometimes
r
How did you fix that?
j
does re-importing them work ?
r
Nope
n
I saw this with ktor 1.0.1. How I fixed that is I started using 1.0.0 which didn’t have this issue.
It has something to do with metadata or bugs in the IDE.
And I don’t use Android Studio for MPP, it’s definitely not capable of processing the structure of the project correctly.
r
I don't use ktor. I created a java module and reference it as a dependency in the SharedCode module. Intellij IDE doesn't recognize the java code in SharedCode but building from command line worked just fine.