Android Strings.xml kann dem doppelten Zitat nicht entkommenAndroid

Forum für diejenigen, die für Android programmieren
Anonymous
 Android Strings.xml kann dem doppelten Zitat nicht entkommen

Post by Anonymous »

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;>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post