I am new to android and just started it. I created a file in res folder, menu/mainMenu.xml. But i got the error
Error: res/menu/mainMenu.xml: invalid file name: must contain only[a-z0-9_.]
When i changed the file name to just mainmenu(remove the capital M) then it started working. Why? I am using intelliJ 10.5.1.
Thanks
it should be
mainmenu.xml,no capital letter is allowed in naming of xml files.only
a-z,mind that not capital…andwhite-space not allowedname must start with a character.not with a Number(0-9)
name only
_symbol allowed.no other symbol alowed.