I often encounter the following error:
res \ drawable \ my-image-48.png: Invalid file name: should only contain [a-z0-9 _.]
My file name is "my-image-48.png", which seems to comply with the restrictions listed in the error.
What am I missing?
you cannot use a dash - , you can use letters (a to z), numbers (0 of 9) and underscores _ Therefore you must replace the β-β with underscores.
-
_
You cannot use - .
[a-z0-9_.] means you cannot use - , but you can use letters from a to z and numbers from 0 to 9 and underscores. Therefore, I recommend replacing - with _
[a-z0-9_.]
Dashes are not allowed in file names.
Source: https://habr.com/ru/post/1347816/More articles:How to determine if the most obvious object in the picture is a shape? - image-processingRecommendation for jquery calendar plugin with several months displayed - javascriptCan lisp functions return links or get arguments by reference? - referenceChecking a date with a given format in Matlab - datetimehow to prevent auto increment from missing id numbers in mysql database? - htmlxpath find the value of the current node - xpathListView and hidden identifier. How is this possible? - androidNonlinear congruence solver (modular arithmetic) - mathhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1347820/toolslibraries-to-resolveexpand-thousands-of-urls&usg=ALkJrhhx49tBbvzkAqB9HpxppeolKurJXgcommand not found error in bash script - bashAll Articles