Closed rocketraman closed 1 year ago
Hello!
Which Kotlin version is the project using? Can you try with a freshly created project from the IDE wizard to see if you get the same issue? If not, can you then try to edit the Kotlin version so that it matches the project you have an issue with?
Kotlin 1.4.32. I'll try a freshly created project.
Hello @rocketraman! Did it work on a new project?
Nope, didn't work on a new project either.
What type of project did you create?
Kotlin multiplatform mobile on JDK 1.8 with IntelliJ IDEA 2021.1.3.
@LouisCAD Any ideas?
@rocketraman I don't have any, but we can try to dig deeper in a pairing session if you want, sometime this week.
Is it the same issue as #6?
No, I have both kotlin.mpp.enableGranularSourceSetsMetadata=true
and kotlin.native.enableDependencyPropagation=false
set.
I thought the problem might be kotlin.native.ignoreDisabledTargets=true
but commenting that out didn't help either.
Upstream issue reference: https://youtrack.jetbrains.com/issue/KT-48337
So, to answer your question "How to troubleshoot?", I think we're figuring it out 😄
@LouisCAD I commented in the upstream issue as well but FYI I can no longer reproduce this with modern versions of the IDE and Kotlin. Its working well now! I'll close. Thanks!
Yup, I've seen. Thanks for the update, I'm glad the IntelliJ Platform fixed that!
Didn't seem to work for me. How can I troubleshoot? I did see the Gradle build output included a download and unpack of some files into
$HOME/.konan
.Some imports that are still red:
I'm on Linux (Fedora 32) with IntelliJ Ultimate 2021.1.2.