Android Dev in Eclipse: weird error message

I created a test project and added two XML files. When I save the project, I get an error message that makes no sense.

[2011-11-10 10:21:04 - Testing] res \ layout \ MainList.xml: Invalid file name: should only contain [a-z0-9_.]

[2011-11-10 10:21:04 - Testing] res \ layout \ MainList.xml: Invalid file name: should contain only [a-z0-9_.]

[2011-11-10 10:21:04 - Testing] res \ layout \ PlaylistEditor.xml: Invalid file name: should contain only [a-z0-9_.]

[2011-11-10 10:21:04 - Testing] res \ layout \ PlaylistEditor.xml: Invalid file name: should contain only [A-z0-9 _.]

There are no invalid characters in file names. Eclipse SAVES the project (including these files), so why does it throw this error message?

+4
source share
1 answer

Your XML files cannot contain uppercase characters in their names. Rename MainList.xml to MainList.xml , etc. This is a requirement of Android, not Eclipse.

+7
source

Source: https://habr.com/ru/post/1380798/


All Articles