2016-11-26 3 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が再構築され、両方のプロジェクトをクリーンアップしようとしました。 –

関連する問題