Q:

about string format wrong

Multiple annotations found at this line:
    - error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" 
     attribute?
    - error: Unexpected end tag string
when i use string like:You have %d appointment(s)\n..and %d task(s). my sdk2.2 .i donot know why appear this mistakes.   

A:

I think it should be
You have %1$d appointment(s)\n..and %2$d task(s)
Check this out
http://groups.google.com/group/android-developers/msg/3457068e42b4c8be

