Multiple substitutions specified in non-positional format; did you mean to add the formatted="false"

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

通常是因为string.xml中一个string 使用多个%引起 如:%s -- %d

解决办法  %s -- \%%d  仅能有一个%,其余加 \%

你可能感兴趣的:(Multiple substitutions specified in non-positional format; did you mean to add the formatted="false")