The snipped from the strings.xml in my post above is just an example.
It happens when the value of a string-property has more than one
substitution, e.g.

  <string name="page_number">Page %d out of %d</string>

has the same problem.

This has never been a problem before and I'm using it in my app
correctly.... until I upgraded to SDK 2.3/Tools 8.0.0 just now.

Please help...


On Dec 6, 2:47 pm, Streets Of Boston <[email protected]> wrote:
> When this string is in my strings.xml
>
>    <string name="home_activity_header_name">%s %s</string>
>
> I get this error when compiling the source-code:
> "error: Multiple substitutions specified in non-positional format; did
> you mean to add the formatted="false" attribute"
>
> I just upgraded to the newest tools (v 8.0.0) and downloaded the
> latest SDK (2.3).
> I compile under apil-leverl 8 and i tried compiling under api-level 9.
>
> Why does this error suddenly appear?
> Is there a way to get rid of it?
>
> Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to