android报错res\drawable-xhdpi\ic_Dianhua.png: Invalid file name: must contain only [a-z0-9_.]
遇到这种情况到原因:新建一个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_.]相关推荐
- Android报错——connect failed: EHOSTUNREACH (No route to host)
2019独角兽企业重金招聘Python工程师标准>>> Android报错--connect failed: EHOSTUNREACH (No route to host) 没有路由 ...
- Android报错installation failed with message invalid file E://.....
Android报错installation failed with message invalid file E://- 运行从别人电脑下载过来的代码时出现 Installation failed w ...
- 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 ...
- Android 报错:Unregister alarmreceiver to MqttServiceXXXX
Android 报错:Unregister alarmreceiver to MqttServiceXXXX 前言 开始 经过 完事 前言 最近由于公司服务器架构改造,开始学习使用MQTT,网上的DE ...
- android 报错:should pass resolved color instead of id here
android 报错:should pass resolved color instead of id here 如题. 解决方法: 加上getResources() & getColor() ...
- spring boot一个模块加载不到引用另一个模块的mapper.xml报错org.apache.ibatis.binding.BindingException: Invalid bound sta
场景:parent项目有两个子模块,分别是shiro和server,两个子模块各自有各自的实体类.mapper,然后server需要引用shiro中的实体类和mapper.已经在启动类添加注解配置扫描 ...
- 解决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 ...
- 【报错笔记】程序报错: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 ...
- 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
最新文章
- #技术分享# “乐高”内核的诞生
- BugKuCTF 杂项 telnet
- bootstrap 单选按钮点击change事件 只触发一次_微信支付新增“确认”按钮,付错钱将成为历史?...
- python 运行当前目录下的所有文件
- 前端学习(909):navigater对象
- 如何将tomcat默认页面换成项目首页?
- ICCV 2019 中国论文数量超美国,商汤57篇论文入选!
- check whether edge in face indices.
- golang 生成定单号
- ITIL4-foundation学习和考试心得
- UI自动化之PO模式
- 《流畅的python》学习笔记及书评
- pb获取当月最后一天
- lack名词形式_lack的用法
- 模型矩阵、视图矩阵、投影矩阵
- ArcGIS计算图斑的四邻坐标(XMin,XMax,YMin,YMax)
- 安卓逆向——某宝app爬虫抓取
- 程序员的自我进化:互联网公司套路多,如何避免自己被无偿辞退?
- 如何在Activex中使用字体(2)
- Java年薪30W+面试必问知识之《2020年面试宝典总纲》