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

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

I have android app and this string in resources:

Select up to %1$d people!

Thi

12条回答
  •  萌比男神i
    2021-02-06 23:29

    I had the same issue, but it has a different origin. My app has some languages and in one translation there was no "%" but a "$" sign instead. It still worked, except in this specific language and I received this hint at the respective line were I used the string.

提交回复
热议问题