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

chi

01/11/2019, 11:59 PM
I'm trying to run test on a simple app with kotlin but normal gradle commands are failing with error
Copy code
Execution failed for task ':app:kaptDebugKotlin'.
> Could not find tools.jar in system classpath, which is required for kapt to work
i

itnoles

01/12/2019, 12:38 AM
JDK 9?
c

chi

01/12/2019, 12:38 AM
No, 8
If I remove the kapt processor, it works, but I need it
This ticket says this issue is fixed, but I think I'm still having the same issue https://youtrack.jetbrains.com/issue/KT-27188
i

itnoles

01/12/2019, 3:31 AM
What is your Kotlin version?
c

chi

01/12/2019, 5:56 AM
1.3.11
i

itnoles

01/12/2019, 7:13 AM
Oh, I think it is fixed in 1.3.20
👍 1
3 Views