https://kotlinlang.org logo
#intellij
Title
# intellij
a

andylamax

08/05/2022, 5:25 AM
IDEA is failing me once again.. Projects builds just fine on terminal, but IDEA can't resolve imports to my dependencies. Kotlin: 1.7.10 | 1.7.20-Beta Gradle: 7.5 Tried enabling and disabling hierarchicalStructureSupport in gradle.propertied I even downloaded three different versions of IDEA How do I solve this? anyone?
c

christophsturm

08/05/2022, 6:57 AM
did you try “File/Repair IDE”?
o

okarm

08/05/2022, 1:54 PM
Recently IDEA 2022.2 stopped resolving MPP imports. I tried all possible combinations of hmpp + metadata flags and Kotlin versions [1.6.21 - 1.7.10]. Tried all possible cache invalidations, deleting
.idea
, deleting
~/.gradle
to no avail. Turns out it is a regression in the IDE itself - downgrading to IDEA 2022.1.4 fixed all my problems immediately.
3 Views