make 编译android代码的出现这样的错误
这个问题可能是跟android 的版本有关系就是xml 中的String.xml文件的文字使用%s 无法识别引起的, 不过有些版本可以识别
下面的就有可能引起Multiple substitutions specified in non-positional format; did you mean to add the formatted=”false”
<string name="test">距离过年还有%s天%s小时%s分钟</string>处理方法就是在%后天添加1$ 或者 2$ 等, 我的处理方法如下.
<string name="test">距离过年还有%1$s天%2$s小时%3$分钟</string>