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

That is because your String resource has multiple %s or similar. To avoid this, you must identify each like this: %1$s. Example:

<string name="full_name">First: %1$s - Last: %2$sstring>
Where %1$s  is your first substitution and %2$s is your second.

If you do not mean to perform any substitution, just add the attribute formatted=“false”. Example:

Level: 100%

你可能感兴趣的:(android)