error: Apostrophe not preceded by \ (

来源:互联网 发布:python时间序列预测 编辑:程序博客网 时间:2024/05/08 05:31

今天做新项目在strings.xml中写了 <string name="copyrightLine1">Copyright © 2011 Edgar Cayce's A.R.E</string>     编译有错误如下:


error: Apostrophe not preceded by \ (in Copyright © 2011 Edgar Cayce's A.R.E)


解决办法:   加 \ 来转义 '

原创粉丝点击