Android strings.xml can't escape double quote
<p>I have a String in strings.xml that should be displayed below a password field showing which characters cannot be used.</p>

<p>The String is:</p>

<pre><code>&lt;string name="password_invalid"&gt;The key can only consist of 8 to 63 ASCII characters or 64 hexdecimal digits bestehen und cannot contain these characters: \" , : ; \\ &amp;amp; % + ' &amp;lt; &amp;gt; ?&lt;/string&gt;
</code></pre>

<p>But everytime I run the code, I get an error message from Android Studio:</p>

<pre><code>Error:(495) Apostrophe not preceded by \ (in The key can only consist of 8 to 63 ASCII characters or 64 hexdecimal digits bestehen und cannot contain these characters: \" , : ; \\ &amp; % + ' &lt; &gt; ?)
</code></pre>

<p>I just don't understand it why Android Studio sees the double quote as an error, I've already preceded it with a backslash as the <a href="http://developer.android.com/guide/topics/resources/string-resource.html#FormattingAndStyling" rel="nofollow">documentation</a> says I should.
What I did:</p>

<ul>
<li>retype the whole phrase, not just copy it from somewhere -> same error</li>
<li>write the double quote with <code>&amp;quot;</code> instead of \" -> doesn't show up</li>
<li>clean/rebuild app -> same errors</li>
</ul>

<p>I either get the error message from above or the double quote gets ignored completely. Does anyone have an idea why it doesn't work?</p>