这是我的strings.xml文件,我在其中收到错误,错误是“Apostrophe not before of”。请允许任何人帮我解决我误解的地方。
<string name="musamman_burj_overview">
<p>Musamman Burj also called as the Saman Burj or the Shah-burj, is a beautiful octagonal tower erected close to the Shah Jahan's private hall Diwan-e-Khas in Lal Quila. \n\n As a matter of fact, the emperor Shah Jahan, who built the Taj, was imprisoned by his son Aurangzeb in the Agra Fort where he had a view on the building erected for his deceased wife.\n\n Shah Jahan is said to have passed away in the Musamman Burj, a tower with a spectacular marble balcony. From there one can probably have the best view on the Taj. Between the many pavilions, one can find small well maintained gardens. \n\n
<font size="18" color="black"><b><u>Entry fee Structure:</u></b></font> \n\n Fee to this place is inclusive in the ticket to ‘Agra Fort’
</p>
</string>
答案 0 :(得分:2)
如果不'
,则无法放置\
。无论您在何处使用'
前:
\‘Agra Fort\’
答案 1 :(得分:0)
你必须逃避你的撇号:
尝试更改
Jahan's
到
Jahan\'s
。
在需要的地方做同样的事。