[SOLVED] Anyone else experiencing `unresolved refe...
# multiplatform
i
[SOLVED] Anyone else experiencing
unresolved reference
problems in Android Studio or Intellij for Kotlin 1.6.20? I filed a seemingly related issue months ago that was never resolved and it appears to be happening by default in 1.6.20. https://youtrack.jetbrains.com/issue/KT-48148 EDIT: This appears to have been an issue with my settings. I had to install a new intellij without importing settings. I’m working with support to pinpoint the issue.
r
HMPP is on by default in 1.6.20, so if you previously didn't have it on to avoid an existing issue you might need to disable it with
kotlin.mpp.hierarchicalStructureSupport=false
in 1.6.20
i
Thanks @russhwolf! For me that changes but does not eliminate the problem. Actually the references now fail with their base package. So for instance, it fails to resolve `kotlinx`entirely instead of one of it’s sub packages.
a
Hi Steve, I've just checked your issue. And seems there is no problem when I upgraded to Kotlin 1.6.20 and all other libraries to its latest versions. Could you please check on your side? If it didn't work we can continue here with the investigation.
i
Thanks @Anton Lakotka [JB]! I filed a new bug here: https://youtrack.jetbrains.com/issue/KTIJ-21490 I’ve long suspected there could be a local issue because it doesn’t seem like everyone has it or even that it’s duplicatable. But I’m lost to figure out what that is. I’ve wiped out all build directories, gradle caches, etc., tried different versions/installs of Java and wiped out and reinstalled AS in various ways to resolve these issues but I haven’t found the answer.
a
If you don't mind we can hop into Google Meet and try to fix it live. I'm also curious to understand what is happening on your side. You can DM me when you are ready and we can set up google meet.\
i
@Anton Lakotka [JB] Thanks I’m ready when you are 😀
1707 Views