问题描述:

I want to create folder in R.raw to classify my media source.

But when I try to read the folder in R, I can't found the folder.

 R.raw.folderName

How can I solve the problem?

网友答案:

You can not add folders to the raw folder or any of the folders inside the res folder.

Android supports only a linear list of files within the predefined folders under res. The asset folder though, can have an arbitrary hyarchie of folders because the asset folder is not considered as resources.

相关阅读:
Top