2016-11-26 87 views
-1

我使用這個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/.) 

我怎麼能解決這個問題?

回答

2

由於錯誤提示,只需添加一個反斜槓逃脫撇號:

<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> 
+0

仍然得到同樣的errr。 –

+1

@vishalpatel這個答案應該可以解決你的問題。我知道這很難問。但是你有沒有嘗試重建和重新部署? –

+0

@Pr曾嘗試重建和清潔項目。 –