https://kotlinlang.org logo
#android
Title
# android
t

tateisu

08/01/2018, 1:05 PM
Please help. I got 'Gradle project sync failed' without error message and below logs found in idea.log
Copy code
2018-08-01 21:46:53,447 [J pool 3/7]   INFO -       ScriptTemplatesProviders - [kts] loading script definitions [org.gradle.kotlin.dsl.KotlinInitScript] using cp: C:\Users\tateisu\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4\lib\gradle-core-4.4.jar;C:\Users\tateisu\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4\lib\gradle-core-api-4.4.jar;C:\Users\tateisu\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4\lib\gradle-kotlin-dsl-0.13.1.jar;C:\Users\tateisu\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4\lib\gradle-kotlin-dsl-tooling-builders-0.13.1.jar;C:\Users\tateisu\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4\lib\gradle-kotlin-dsl-tooling-models-0.13.1.jar;C:\Users\tateisu\.gradle\wrapper\dists\gradle-4.4-all\9br9xq1tocpiv8o6njlyu5op1\gradle-4.4\lib\kotlin-compiler-embeddable-1.1.51.jar 
2018-08-01 21:46:53,451 [J pool 3/7]   WARN -       ScriptTemplatesProviders - [kts] cannot load script definition class org.gradle.kotlin.dsl.KotlinInitScript 
java.lang.ClassNotFoundException: org.gradle.kotlin.dsl.KotlinInitScript
these are some build parameter in build.gradle:
Copy code
ext.kotlin_version = '1.2.51'
classpath 'com.android.tools.build:gradle:3.1.3'
 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk6:$kotlin_version"
"menu → File → Invalidate Caches/Restart." is not help for this.
4 Views