Format string XXX is not a valid format string so it should not be passed to String.format

前端 未结 12 2148
没有蜡笔的小新
没有蜡笔的小新 2021-02-06 23:06

I have android app and this string in resources:

Select up to %1$d people!

Thi

12条回答
  •  误落风尘
    2021-02-06 23:51

    I just copied the code and it works well. so you may need to check some other place,Here are my suggestions.

    1. clean project
    2. check multi-language files
    3. or just use String.format just like others said

提交回复
热议问题