When Kapt fails it says something about a log that...
# kapt
p
When Kapt fails it says something about a log that we should check for more details. Does anyone actually know where that log is?
🤔 2
k
You can open the Gradle Console dock. It should contain more details about the failure
p
@kingsley How do I do that? 😛
k
You should have it in one of the collapsed tabs at the bottom of the IDE. Otherwise, you can click the "button" on the bottom left, you should see it there
p
Ohh now I see which one you mean
k
Cool. Have you tried reproducing the error? Did it help?
p
Running it now to see what it gets print there.
Although I am not that optimistic anymore 😛
Yup as i guessed. Overflowed with Databinding errors, probably capped at 100 if I counted correctly, and nothing related to the actual error getting printed. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task 'appkapt<VariantName>Kotlin'.
Compilation error. See log for more details
k
Really. That always works for me
p
unfortunately…I filled an error in Youtrack https://youtrack.jetbrains.com/issue/KT-17245
👍 1
k
Oh
Have you tried running
./gradlew assemble<VariantName>
manually?
p
yeap everything results to the same exact output 😛
There is something to the Kapt compiler that limits the output, or as Yan said on the #eap channel the Kotlin daemon errors are not passed to the Gradle process