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

Ronny Remesnik

05/31/2022, 1:19 PM
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

mbonnin

05/31/2022, 1:21 PM
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

Ronny Remesnik

05/31/2022, 2:31 PM
Thank you !
2 Views