撇号前面没有“\”

Apostrophe not preceded by "\"

我正在使用这个 xml 字符串:

<string name="four4">Please see Facebook's privacy policies for the purpose and scope of data collection and the further processing and use of data by Facebook, as well as your rights and setting options to protect your privacy: https://www.facebook.com/about/privacy/.</string>

我得到这个错误:

Error:(735) Apostrophe not preceded by \ (in Please see Facebook's privacy policies for the purpose and scope of data collection and the further processing and use of data by Facebook, as well as your rights and setting options to protect your privacy: https://www.facebook.com/about/privacy/.)

我该如何解决这个问题?

如错误所示,只需添加一个反斜杠即可转义撇号:

<string name="four4">Please see Facebook\'s privacy policies for the purpose and scope of data collection and the further processing and use of data by Facebook, as well as your rights and setting options to protect your privacy: https://www.facebook.com/about/privacy/.</string>