Ilya Nothen
10/08/2022, 5:27 PMCannot access class 'kotlin.ranges.ClosedFloatingPointRange'. Check your module classpath for missing or conflicting dependencies
There was a similar issue with kotlinx.coroutines but I fixed it by declaring a concrete dependency on it.
My project compiles and runs perfectly, but it is just painful to see red underlined project folder name.
It started happening after some gradle reload and then didn't go away for a week. Tried refreshing caches, straight up deleting ~/.gradle/caches (this was a disaster) but nothing helped.