hi all. anybody know how to fix error: ```e: java....
# kotlin-native
a
hi all. anybody know how to fix error:
Copy code
e: java.nio.file.NoSuchFileException: /Users/alex/Desktop/work_projects/my-project/dist/konan/konan.properties
?
a
Seems like the project is trying to find a K/N distribution in a wrong place. Can you check the
kotlin.native.home
Gradle property’s value?
a
in project:
Copy code
org.gradle.jvmargs=-Xms512m -Xmx8g
org.gradle.configureondemand=false
org.gradle.parallel=true
kotlin.code.style=official
android.useAndroidX=true
android.enableJetifier=true
VERSION_NAME=0.1.0
VERSION_CODE=1
in `~/.gradle/gradle.properties`:
Copy code
org.gradle.workers.max=2
kotlin.native.home not set anywhere
in
./gradlew properties
nothing about this key
a
Interesting. And you have no even
/dist/
directory there, am I right?
e
What is K/N version? I met such error on 1.4-M1
Could you try set
org.gradle.parallel=false
and check?
a
used 1.3.70
e
You should try
org.gradle.parallel=false
. In
1.3.71
you should get message about this. Or you can use
kotlin.native.disableCompilerDaemon=true
@ilya.matveev even pointed an issue https://youtrack.jetbrains.com/issue/KT-37444
a
ok thx. will try 1.3.71 with disableCompilerDaemon
a
Hello, @Holdge! Please create an issue at kotl.in/issue, with an information on your environment. Also, please comment there if any of previously given advices helped.