When I compile a kotlin native project I get “Could not initialize class org.jetbrains.kotlin.backend.konan.env.env”, why?

I create a kotlin native app from scratch and I get the error above. How can I fix this?
It’s a simple “Hello World” app. I have other computers and this error does not appear there.
I think it has to do with Konan not downloading its files??
Any ideas?

Normally the project should compile and run without errors.

Leave a Comment