CompleteKotlin icon indicating copy to clipboard operation
CompleteKotlin copied to clipboard

How to troubleshoot?

Open rocketraman opened this issue 4 years ago • 12 comments

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:

image

image

I'm on Linux (Fedora 32) with IntelliJ Ultimate 2021.1.2.

rocketraman avatar Jun 11 '21 06:06 rocketraman

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?

LouisCAD avatar Jun 11 '21 06:06 LouisCAD

Kotlin 1.4.32. I'll try a freshly created project.

rocketraman avatar Jun 11 '21 06:06 rocketraman

Hello @rocketraman! Did it work on a new project?

LouisCAD avatar Jun 16 '21 17:06 LouisCAD

Nope, didn't work on a new project either.

rocketraman avatar Jun 30 '21 07:06 rocketraman

What type of project did you create?

LouisCAD avatar Jun 30 '21 08:06 LouisCAD

Kotlin multiplatform mobile on JDK 1.8 with IntelliJ IDEA 2021.1.3.

image

rocketraman avatar Jun 30 '21 13:06 rocketraman

@LouisCAD Any ideas?

rocketraman avatar Jul 06 '21 21:07 rocketraman

@rocketraman I don't have any, but we can try to dig deeper in a pairing session if you want, sometime this week.

LouisCAD avatar Jul 06 '21 23:07 LouisCAD

Is it the same issue as #6?

LouisCAD avatar Aug 18 '21 21:08 LouisCAD

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.

rocketraman avatar Aug 18 '21 21:08 rocketraman

Upstream issue reference: https://youtrack.jetbrains.com/issue/KT-48337

rocketraman avatar Aug 24 '21 13:08 rocketraman

So, to answer your question "How to troubleshoot?", I think we're figuring it out 😄

LouisCAD avatar Aug 24 '21 14:08 LouisCAD

@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!

rocketraman avatar Aug 25 '23 03:08 rocketraman

Yup, I've seen. Thanks for the update, I'm glad the IntelliJ Platform fixed that!

LouisCAD avatar Aug 25 '23 09:08 LouisCAD