Hello - Android Studio source project linking issue here
I was using Koltin MP for android/iOS app, and It worked well on Android studio 2.2 Canary build,
Foolishly I installed stable version of 2.2 replacing Canary build, and now everything works in exception that code analysis don't see commonMain from androidMain. It does work between iosMain and commonMain. Reinstallation of AS, plugins, invalidate and restart, cache deletions don't fix this issue.
Newly generated projects from new > KMP project have the same issue
Does anyone else have the same problem? Or I am missing something in setup?
05/20/2021, 1:34 PM
Is your kotlin version aligned with the kotlin as plugin?
05/20/2021, 2:23 PM
IDE plugin and KMM were both 1.5.0
It was different in some places (build scripts had 1.5.0 and older) but swapping it all out for 1.5.0 (and clean invalidate and restarting and whole shtick) didn't change the issue
05/20/2021, 2:58 PM
Btw I think the build script versions supersede the project versions, be careful with that