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

Forrest Pangborn

12/02/2020, 9:42 PM
Hi folks 👋 I'm trying to add multiplatform support slowly to a relatively large Android codebase and have started with trying to convert some pretty foundational modules to
multiplatform
type from
jvm
or
com.android.library
. This has been working alright, but I recently ran into a problem when when I tried to introduce a dependency on a
multiplatform
module (with a
jvm
target) in a
jvm
module; Android Studio fails to resolve classes defined in the
commonMain
sourceset of the
multiplatform
module while inside the
jvm
module. However, everything compiles and packages fine from CLI so I'm wondering if this is an Android Studio bug. I have a sample project exhibiting this - but am wondering if this a known limitation or if anyone else has experienced this before.
s

solidogen

12/02/2020, 10:24 PM
https://issuetracker.google.com/issues?q=174678302 I filled this ticket today, is already assigned. You can star this to increase priority
👍 1
1
f

Forrest Pangborn

12/03/2020, 2:52 PM
yep - thats precisely my issue