.xml:10: AAPT: error: not well-formed (invalid token)

invalid token 不允许的标识
布局文件中 文本属性要用到特殊符号的 需要要values/strings.xml中定义不要硬编码
原错是这样的
在这里插入图片描述
.xml:10: AAPT: error: not well-formed (invalid token)
.xml:10: AAPT: error: not well-formed (invalid token)
几年前遇见过 今天又遇见了在这里标记一下 以方便记忆。