Execution failed for task ':app:compileDebugKotlin'

I think the point is that in Android Studio all the generated output except the crash statement is hidden unless you take the two steps above that I mentioned.