Kotlin Kapt doesn't show databinding errors when running from Android Studio

Viewed 559

I'm using Kotlin kapt version 3, whenever there is a problem with databinding, the build from Android Studio fails with a very generic error:

Error:Execution failed for task ':app:kaptDev21DebugKotlin'.
> Internal compiler error. See log for more details

When I run the same task from the console, the real problem shows up. Somehow the AS doesn't show this error in message window.

I'm using Android Studio version 2.3.3

2 Answers

You can see the error in Gradle Console, something similar to this :

enter image description here

Related