Escape multiple “%” characters in Android
问题 In <string-array name="versions"> I have this beast of an entry (boiled down to a reasonable minimum to reproduce the effect): <item>100% foo 40%bar</item> which produces these errors: Multiple annotations found at this line: - error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? - error: Found tag </item> where </string-array> is expected Adding formatted="false" doesn't change a thing. <item>100% foo 40%bar</item> results in