udacity / andfun-kotlin-sleep-tracker

Other
90 stars 206 forks source link

"Step.07*" branches do not compile #37

Open brunoalr opened 2 years ago

brunoalr commented 2 years ago

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.

Fanfouna commented 2 years ago

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.