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>

Multiple substitutions specified in non-positional format; did you mean to add the formatted=”false”相关推荐

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

    string.xml: <string name="record_report">%1#s!%2$s.The record was recorded on %3$s.% ...

  2. Multiple substitutions specified in non-positional format; did you mean to add the fo

    出现的问题:安卓出现字符串带百分号的情况,AS高级版本编译时出现下面问题:Error:(3575) Multiple substitutions specified in non-positional ...

  3. JAVAAPI学习之Calendar类;Calendar类set()、add()、roll()方法区别

    JAVAAPI学习之Calendar类 http://blog.csdn.net/myjlvzlp/article/details/8065775(写的很好,清晰易懂) Calendar类set(). ...

  4. git下载,上传代码到GitLab ; Untracked files (use “git add <file>...“ to include in what will be committed)

    环境:Windows10 git版本:git-2.12.2.2-64-bit.exe 安装git,安装成功文件夹上右键,菜单中会有git GUI here 及git Bash here选项 使用: 1 ...

  5. Multiple annotations found at this line: ---关于android string.xml %问题

    本文来源于:hunter的博客(http://my.oschina.net/hunterXue/blog/15107) Multiple annotations found at this line: ...

  6. android 字符串特殊字符转义

    XML转义字符  以下为XML标志符的数字和字符串转义符  "     (" 或 ")  '     (' 或 ')  &     (& 或 &) ...

  7. 【android】string.xml中的一些错误

    1.遇到如下错误的时候说明你需要在单引号签名加转义字符(\): Description Resource Path Location Type error: Apostrophe not preced ...

  8. 【Android】Lenovo K860 framework-res.apk回编译失败解决办法

    现象: 79: error: Found tag </item> where </plurals> is expected 79: error: Multiple substi ...

  9. android 百分号,Android XML百分比符号

    Android XML百分比符号 我有一个字符串数组,其中使用了%符号. 使用%的正确格式是%.当我在该阵列中有一个带有多个%的字符串时,它会给我这个错误. Multiple annotations ...

最新文章

  1. python根据文件名或后缀名遍历文件夹下所有文件或图片的路径,并计算文件行数
  2. 乔布斯 1973 年求职申请表曝光,拍出 222400 美元高价!
  3. Mac自定义终端的欢迎页
  4. 阿里云混合云联合信通院发布《基于云计算的数字化业务安全工程要求》
  5. iOS中SQLite持久化存储第三方库FMDB
  6. centos 安装tomcat_简单介绍Linux配置mysql,tomcat,Nginx 开机自启动的几个方式
  7. 单精度浮点数与十六进制转换
  8. 从草图到人脸:这篇SIGGRAPH2020论文帮你轻松画出心中的「林妹妹」,开源「计图」实现代码...
  9. hibernate的一级缓存问题
  10. 计算机课程设计红绿灯,labview红绿灯课程设计报告
  11. AD7705驱动代码 -- Linux SPI设备驱动
  12. viper4android+xhifi+音效驱动,【资源】ViPER4Android FX 音效驱动 v2.3.0.1
  13. EDA技术(VHDL)——0~9999的计数器电路的设计
  14. BS版的U8物料查询系统
  15. 艾司博讯:拼多多推广计划点击价格设置
  16. web前端 “我是有底线的”效果
  17. MOSFET正温度系数和负温度系数
  18. 电脑与手机文件互传机制
  19. 华为设备IGMP配置命令
  20. (转)从17家顶级基金退出情况中反思投资机构退出之道

热门文章

  1. Go 知识点(05)— 类型别名与类型定义
  2. windows安装MongoDB环境以及在pycharm中配置可视化插件
  3. Anaconda3+python3.7.10+TensorFlow2.3.0+PyQt5环境搭建
  4. 每个年龄段,都有每个年龄段的“好”
  5. MySQL中对varchar类型排序问题的解决
  6. Jquery实现form表单回填数据
  7. 并发 IO多路复用 select 非asyncio
  8. window10+python3.7安装tensorflow--gpu tensorflow 安装
  9. LeetCode简单题之较大分组的位置
  10. GPU加速库AmgX