What are forbidden names for directories in Android's res directory?
android, naming
Solution
In http://developer.android.com/guide/topics/resources/providing-resources.html you can see that:
Qualifier name rules
Alternative resource directories cannot be nested. For example, you cannot have res/drawable/drawable-en/.
Nested folders are not supported in the `res` folder, supports only a linear list of files. But in the `assets` folders you can put an arbitrary hierarchy of folders and files within it, because the contents of the assets folder are not considered resources.
You should not be able to something like `res/raw/dicts/en-GB/wordlist.txt`, but if that happened you probably failed to get the resource ID of the wordlist.txt (R.raw.wordlist)
The assets folder and the raw folder, are similar. Both can contain raw files, but the files within raw are considered resources and the files within assets are not.
Problem
I recently added `res/raw/dictionaries/en-GB/wordlist.txt` to my Android project. It created an error. I eventually figured out that the directory name `dictionaries` was causing problems, I changed it to `dicts` and everything was fine. Why is this name not allowed? Are any others not allowed? Is there a list of disallowed directory names?