Sometime appears a "Kotlin not configured" message in a Kotlin based project.
When this happens usually a lot of libraries are not recognized as well, ending up with tons of errors.
Looking on google didn't show much.
Here some advices found :
- go on File - Invalidate Caches / Restart
Not always works, usually after that IntelliJ try to rebuild everything and end up with the same error - manually remove the IntelliJ Kotlin artifacts.
It is indicated the directory ~/.m2 as base but on MacOs there is no such directory
I did solve in this way :
- open the build.gradle file
- change the version of the Kotlin used - should rebuild indexes and everything
- change back the version of Kotlin used
Should do the trick
No comments:
Post a Comment