遇到这种情况到原因:新建一个xml文件。保存就出现下面的问题。

意思是说:filename不合法。

我检查了一下没发现有什么错的。然后又一个标签一个标签的检查,也没发现错的。

后来才注意到最后面的正则表达式:意思是 文件名必须是"小写字母","0~9"的数字,下划线" —" 和"."

[2011-04-07 22:24:57 - LayoutActivity]res/layout/Mylayout.xml: Invalid file name: must contain only[a-z0-9_.]

这样就好解决了

android报错res\drawable-xhdpi\ic_Dianhua.png: Invalid file name: must contain only [a-z0-9_.]相关推荐

  1. Android报错——connect failed: EHOSTUNREACH (No route to host)

    2019独角兽企业重金招聘Python工程师标准>>> Android报错--connect failed: EHOSTUNREACH (No route to host) 没有路由 ...

  2. Android报错installation failed with message invalid file E://.....

    Android报错installation failed with message invalid file E://- 运行从别人电脑下载过来的代码时出现 Installation failed w ...

  3. Android 报错A/libc: Fatal signal 6 (SIGABRT), code -6 in tid *** 解决

    Android 报错A/libc: Fatal signal 6 (SIGABRT), code -6 in tid *** 解决 这几天经常出现apk报错:A/libc: Fatal signal ...

  4. Android 报错:Unregister alarmreceiver to MqttServiceXXXX

    Android 报错:Unregister alarmreceiver to MqttServiceXXXX 前言 开始 经过 完事 前言 最近由于公司服务器架构改造,开始学习使用MQTT,网上的DE ...

  5. android 报错:should pass resolved color instead of id here

    android 报错:should pass resolved color instead of id here 如题. 解决方法: 加上getResources() & getColor() ...

  6. spring boot一个模块加载不到引用另一个模块的mapper.xml报错org.apache.ibatis.binding.BindingException: Invalid bound sta

    场景:parent项目有两个子模块,分别是shiro和server,两个子模块各自有各自的实体类.mapper,然后server需要引用shiro中的实体类和mapper.已经在启动类添加注解配置扫描 ...

  7. 解决IntelliJ IDEA报错Failed to read candidate component class: file [ ]; nested exception is org.

    解决IntelliJ IDEA报错Failed to read candidate component class: file [ ]; nested exception is org.springf ...

  8. 【报错笔记】程序报错:Cause: java.sql.SQLException: Invalid value for getInt() - ‘4ab72edc-c02f-423f-ae9e-18c30

    程序报错:Cause: java.sql.SQLException: Invalid value for getInt() - '4ab72edc-c02f-423f-ae9e-18c306e2cda ...

  9. npm install 报错 npm WARN tar ENOENT: no such file or directory, open... 解决方式

    报错信息 npm install 报错 npm WARN tar ENOENT: no such file or directory, open- 解决方式 使用cnpm install

最新文章

  1. #技术分享# “乐高”内核的诞生
  2. BugKuCTF 杂项 telnet
  3. bootstrap 单选按钮点击change事件 只触发一次_微信支付新增“确认”按钮,付错钱将成为历史?...
  4. python 运行当前目录下的所有文件
  5. 前端学习(909):navigater对象
  6. 如何将tomcat默认页面换成项目首页?
  7. ICCV 2019 中国论文数量超美国,商汤57篇论文入选!
  8. check whether edge in face indices.
  9. golang 生成定单号
  10. ITIL4-foundation学习和考试心得
  11. UI自动化之PO模式
  12. 《流畅的python》学习笔记及书评
  13. pb获取当月最后一天
  14. lack名词形式_lack的用法
  15. 模型矩阵、视图矩阵、投影矩阵
  16. ArcGIS计算图斑的四邻坐标(XMin,XMax,YMin,YMax)
  17. 安卓逆向——某宝app爬虫抓取
  18. 程序员的自我进化:互联网公司套路多,如何避免自己被无偿辞退?
  19. 如何在Activex中使用字体(2)
  20. Java年薪30W+面试必问知识之《2020年面试宝典总纲》

热门文章

  1. linux笔记 第3天
  2. C# 获取几种路径的方式
  3. [diary]一下子更新了这么多
  4. Java BitSet使用场景和示例
  5. android Json详解
  6. SGU 260.Puzzle (异或高斯消元)
  7. 外贸网站制作 网页的宽度多少为合适
  8. windows共享wifi
  9. open***配置成功分析(服务器)
  10. asp.net编程:asp.net中如何设置页面的编码