Encountered this problem again, the reason is that the parameter attribute is wrong
<TextView align="{enum.TextView.Align.Center}"id="room" color="#333333" fontSize="18sp" text="Mine" height="{dp(200)}" width="{dp(100)}" background="#7FFFAA"></TextView>
<TextView align="{enum.TextView.Align.Center}" id="room" color="#333333" fontSize="18sp" text="Mine" height="{dp(200)}" width="{dp(100)}" background="#7FFFAA"></TextView>
The reason for the error is because: align="{enum.TextView.Align.Center}" id="room"
is missing a space between it is really low-level
The error message of vscode is not detailed. If you find a detailed new setting later, the error may be resolved quickly