Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Page 7 doesn't mention dependency on kotlin-kapt #11

Open
JakeSteam opened this issue Jul 23, 2019 · 1 comment
Open

Page 7 doesn't mention dependency on kotlin-kapt #11

JakeSteam opened this issue Jul 23, 2019 · 1 comment

Comments

@JakeSteam
Copy link

Not high priority as I was incorporating the tutorial into an existing project, not using the base project.

However, Step 7 fails with an error similar to:

Error:Execution failed for task ':app:compileDebugJavaWithJavac'. java.lang.RuntimeException: Found data binding errors. ****/ data binding error ****msg:Cannot find the setter for attribute 'app:hideIfZero'

The solution is adding apply plugin: 'kotlin-kapt' to the build.gradle, but this is not mentioned anywhere.

@libliboom
Copy link

Thanks, I spent lots of time for this trouble but the information you shared is totally right solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants