I try to add a button into my layout. The layout previously does not contain any errors. But after I drag and drop the button into the layout, it shows an error as the picture below.

Even I already define @+id/checksensortextview .
Here is the code before and after I add the button. (Even I remove the added button, the errors still there).

I add the button in activity_evaluate.xml, but it affect every .xml file except activity_login.xml
Is anybody face the problem like this before?
Thank you for any solutions and suggestions.
Invalidate Caches and Restart cleared that error for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With