Hi, I have created a Kotlin Native project using I...
# kotlin-native
k
Hi, I have created a Kotlin Native project using IntelliJ following this kotlinlang tutorial https://kotlinlang.org/docs/tutorials/native/using-intellij-idea.html When I run the project, though, I am getting this error
e: java.lang.RuntimeException: Cannot extract archive with dependency: /home/kristian/.konan/cache/target-gcc-toolchain-3-linux-x86-64.tar.gz.
I'm running the project on a Ubuntu machine, and when I check the directory in the error message I can see that the relevant .tar.gz file is present. Does anyone know what I can do to fix this?
a
Hello, @Kristian Tan! The most straightforward option here is to remove
/.konan/
directory and let the Gradle re-download it.
k
Thanks, that has solved it
l
Is this issue somewhere on YouTrack?
a
I think the most appropriate would be this one.