error: Apostrophe not preceded by \ (

今天做新项目在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)


解决办法:   加 \ 来转义 '

你可能感兴趣的:(error: Apostrophe not preceded by \ ()