Hey all, I have android project that is using KMP ...
# multiplatform
r
Hey all, I have android project that is using KMP project. KMP have modules and when I’m trying to import code of KMP modules to android project, the AS mark it with RED and say when I click “Can’t find declaration” When the imported code is not from module, but from the
commonMain
folder on the root, all imported well. But all code compiles well, no problem on compilation, only visual… problem started since upgrading Kotlin to 1.6.21 Thanks in advance…
m
Yup, the Android <-> KMP IDE support has some issues. If you scroll back in this channel, you'll fin a bunch of threads about it. This one in particular has a lot of context: https://kotlinlang.slack.com/archives/C3PQML5NU/p1652224566469179
r
Thank you !