andfun-kotlin-sleep-tracker icon indicating copy to clipboard operation
andfun-kotlin-sleep-tracker copied to clipboard

"Step.07*" branches do not compile

Open brunoalr opened this issue 2 years ago • 1 comments

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.

brunoalr avatar Sep 05 '22 11:09 brunoalr

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.

Fanfouna avatar Oct 07 '22 14:10 Fanfouna