Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 535
kmalmur Avatar asked Aug 09 '17 08:08

kmalmur


1 Answers

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

enter image description here

like image 104
Mladen Rakonjac Avatar answered Sep 19 '22 10:09

Mladen Rakonjac