今天在一个android项目中的string.xml中写这样一个字符串时出现了下面这个错误提示:

The reference to entity "说明" must end with the ';' delimiter.

错误的字符串如下图所示:

举例android项目中的string.xml出现这个The character reference must end with the ';' delimiter.错误提示的原因及解决办法

 

 

 

 

错误原因:在这个字符串中输入了一个特殊的符号“&”

 

解决办法:如果确实需要一个分隔符的话可以用分号“;”来代替“&”

相关文章:

  • 2022-12-23
  • 2021-10-20
  • 2021-11-30
  • 2022-12-23
  • 2021-08-10
  • 2021-11-04
  • 2021-07-23
  • 2022-12-23
猜你喜欢
  • 2022-01-12
  • 2021-07-08
  • 2021-09-10
  • 2021-10-28
  • 2021-05-26
  • 2021-07-22
  • 2022-12-23
相关资源
相似解决方案