https://kotlinlang.org logo
o

outadoc

11/28/2020, 9:05 PM
Hey all, I’m trying to get a small multiplatform project going, and I’m seeing some weird errors in the IDE. The project builds fine, but both IntelliJ 2020.2.4 and Android Studio 4.1.1 show errors every time I import something from a multiplatform library. There are two multiplatform libs,
lib-kemu
, and
lib-chip8
(which depends on
lib-kemu
locally). Then two multiplatform modules,
app-chip8-desktop
(Kotlin/JVM) and
app-chip8-browser
(Kotlin/JS) which depend on
lib-chip8
. There’s a chance that I’m doing something wrong, but if that’s the case I cannot figure out what. And it’s getting really hard to progress with every line being errored out. 😞 The code is here: https://github.com/outadoc/kemu-chip8
A typical file looks like this... I’ve tried a bunch of
build.gradle.kts
variants without success.
g

Gil Sinclair-Julio

12/01/2020, 8:22 PM
hey @outadoc did you manage to find a solution? I’m having the same issue and not having much luck..
o

outadoc

12/02/2020, 8:09 AM
Hi Gil, I just nuked my repository (deleted all
build
folders and I think the
.idea
directory as well) and it’s been working fine since. Very weird 😕
👍 1
2 Views