gpt4 book ai didi

When I compile a kotlin native project I get "Could not initialize class org.jetbrains.kotlin.backend.konan.env.env", why?(当我编译一个kotlin native项目时,我得到“Could not initialize class org.jetbrains.kotlin.backend.konan.env.env”,为什么?)

转载 作者:bug小助手 更新时间:2023-10-28 10:41:10 32 4
gpt4 key购买 nike



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?

我从头开始创建了一个Kotlin原生应用程序,我得到了上面的错误。我怎么才能解决这个问题呢?这是一款简单的“Hello World”应用程序。我有其他计算机,但该错误没有出现在那里。我认为这与科南没有下载其文件有关??有什么主意吗?


Normally the project should compile and run without errors.

通常情况下,项目应该编译和运行没有错误。


更多回答
优秀答案推荐

Culprit: windows path variable.
My Windows path variable had an illegal character. This prevented the Konan download. I fixed the path variable and now it's working smoothly.

罪魁祸首:Windows路径变量。我的Windows PATH变量包含非法字符。这阻止了Konan下载。我修复了PATH变量,现在它工作得很顺利。


更多回答

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com