如何我在Android应用程序的子文件夹添加到原文件夹?

问题描述:

我当然可以右键单击原始文件夹,并添加新的文件夹,但是当我出口项目,将APK文件不包含新的子文件夹中。

Of course I can right click the raw folder and add new folder but when I export the project, the APK file does not contain the new sub folder.

您不能。

/ RES / 中的文件夹有predefined结构,而不能添加子文件夹。

The folders in /res/ have a predefined structure, and you can't add subfolders.

然而,看到这是原材料文件夹,你可能要考虑使用资产文件夹,在子文件夹的支持。

However, seeing as this is the raw folder, you may want to look into using the assets folder, in which sub folders are supported.

请记住认为,通过使用资产您将无法使用研究。*。* 引用了。你必须要经过AssetManager.

Keep in mind thought that by using assets you won't be able to use R.*.* references anymore. You will have to go through the AssetManager.