Android Strings.xml kann dem doppelten Zitat nicht entkommen
Posted: 13 Apr 2025, 22:29
Ich habe eine Zeichenfolge in Strings.xml, die unter einem Kennwortfeld angezeigt werden sollte, aus denen hervorgeht, welche Zeichen nicht verwendet werden können.The key can only consist of 8 to 63 ASCII characters or 64 hexdecimal digits bestehen und cannot contain these characters: \" , : ; \\ & % + ' < > ?
< /code>
Aber jedes Mal, wenn ich den Code ausführe, erhalte ich eine Fehlermeldung von Android Studio: < /p>
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: \" , : ; \\ & % + ' < > ?)
< /code>
Ich verstehe es einfach nicht, warum Android Studio das Doppelzitat als Fehler sieht. Zitat mit & quot;>
< /code>
Aber jedes Mal, wenn ich den Code ausführe, erhalte ich eine Fehlermeldung von Android Studio: < /p>
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: \" , : ; \\ & % + ' < > ?)
< /code>
Ich verstehe es einfach nicht, warum Android Studio das Doppelzitat als Fehler sieht. Zitat mit & quot;>