[英]Invalid file name: must contain only [a-z0-9_.]
I have file /FavoriteTwitterSearches/res/menu/FavoriteTwitterSearches.xml
in my android project. 我的Android项目中有文件
/FavoriteTwitterSearches/res/menu/FavoriteTwitterSearches.xml
。 When I want to run the project - i get error "res\\menu\\FavoriteTwitterSearches.xml: Invalid file name: must contain only [a-z0-9_.]" . 当我想运行项目时-我收到错误消息“ res \\ menu \\ FavoriteTwitterSearches.xml:无效的文件名:必须仅包含[a-z0-9_。]” 。 But if I change the file name for az,0-9 there is another errors in
/R.java/R/string/confi
like 但是,如果我将文件名称更改为az,0-9,则
/R.java/R/string/confi
中/R.java/R/string/confi
出现另一个错误,例如
Multiple markers at this line 这行有多个标记
- Duplicate field R.string.confi
- Syntax error on token "rmTitle", delete
or Multiple markers at this line 或此行有多个标记
- Syntax error on token "rmMessage", delete
this token
"res\\menu\\FavoriteTwitterSearches.xml: the res folder accepts only small case letters change your file name to “ res \\ menu \\ FavoriteTwitterSearches.xml:res文件夹仅接受小写字母,将您的文件名更改为
favoritetwittersearches and it will work 最喜欢的twittersearches,它将起作用
Capital letters are not allowed in naming any .xml files. 在命名任何.xml文件时,不允许使用大写字母。 using it will give you an error.
使用它会给你一个错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.