andfun-kotlin-sleep-tracker
andfun-kotlin-sleep-tracker copied to clipboard
"Step.07*" branches do not compile
Both exercise
and solution
branches do not compile with error:
Cannot find a setter for <android.widget.TextView android:text> that accepts parameter type 'error.NonExistentClass'
If a binding adapter provides the setter, check that the adapter is annotated correctly and that the parameter type matches.
I did not change the code at all.
I had the same issue. To solve it, delete your .idea and your .gradle folder so that Android studio can rebuild your project from scratch. This will fix the issue.