Friday, 24 June 2016

Error:(2) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?



if  you see this:

Error:(2) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?




You must have something like this in your string.xml:

<string name="haha"><![CDATA[xxx/%20%20]]></string>

You should change it to:

<string name="haha" formatted="false"><![CDATA[xxx/%20%20]]></string>



No comments:

Post a comment