android error: unescaped apostrophe in string

I internationalized the project today and found that string.xml reported an error android error: unescaped apostrophe in string

The error location points to a certain line of Uzbekistan rUZ (Uzbek,) resources. After Baidu, it is found that there may be punctuation marks that need to be escaped. Check the line to find the reason: "'" The single quotation mark is not escaped and a backslash / is added. compile fine

example:

<string name="uzcard_qr_payment">Uzumpay bo\'yicha to\'lov</string>//原文   Uzumpay bo'yicha to'lov
在这里插入代码片

おすすめ

転載: blog.csdn.net/Hh19900902/article/details/127851103