Try:
Project menu → Clear
If it does not start a closed project, closes the eclipse and repeats ...
and the hint does not concern gen code, it should only be changed by eclipse itself .
MOD
sometimes eclipse goes crazy with code. When this happens, I usually change the code in res. This happens to me with lines, an eclipse changes the line to another, and the error changes when I change the order of several lines.
A.Quiroga
source share