Has anyone encountered a bug in IntelliJ/AndroidStudio that breaks code highlighting/completion for Java projects that depend on KMM libraries that have both Android and JVM targets? My project compiles fine but the IDE seems to incorrectly use the Android target instead of the JVM target when doing autocompletion.
CRamsan
10/05/2021, 5:38 PM
I can try to get a small repro project. But first I wanted to see if was an already known issue.
j
Javier
10/05/2021, 5:58 PM
yes, the workaround is move jvm lib to kmp with only jvm target