This suddenly appears because, starting with tools r8, applications are compiled using the latest version of aapt (the tool that compiles the android resource).
We used to use version of aapt specific to the version of Android you compiled against, but not anymore. Benefits of using the latest versions: - if we add a feature, you'll get it even if you compile against an older version. For instance, the new mode that automatically insert debuggable="true" in your manifest would not be usable on older versions. - you get bug fixes too, or behavioral changes. In this case, aapt is more strict, and while that may be annoying at first, this is really important to use positional format. Xav On Mon, Dec 6, 2010 at 11:47 AM, 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 > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. 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

