https://kotlinlang.org logo
Title
t

tateisu

01/23/2019, 8:08 PM
https://gist.github.com/tateisu/d47dd733cba989adc138f1827236f709 I have experience build error on kotlin 1.3.20 .
t

Tolriq

01/23/2019, 8:12 PM
Google translate says access denied 🙂 You probably have a gradle cache issue and some daemon that lock something. ./gradlew stop may help
t

tateisu

01/23/2019, 8:13 PM
Task 'stop' not found in root project '***'.
r>gradlew --stop Stopping Daemon(s) 2 Daemons stopped
then rebuild project, it shows same error.
IOException is raised in GradleCompilerRunner$Companion.getOrCreateSessionFlagFile$kotlin_gradle_plugin, I think this is not cache issue.
I've uninstall 1.3.20 and back to 1.3.11 (bundled on Android Studio). then build error was gone.
c

cristiangm

01/23/2019, 9:11 PM
I just tested in 1 project but it was fine
Gradle version?
t

tateisu

01/23/2019, 10:33 PM
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
classpath 'com.android.tools.build:gradle:3.3.0'
c

cristiangm

01/23/2019, 10:34 PM
I tried it with Gradle 5.1.1, so maybe that's the difference
t

tateisu

01/23/2019, 10:39 PM
or maybe the difference is I use Windows. It has different rules for file access conflicts than *nix