The right way to add a new resource folder in Android Studio?

I want to make a dedicated folder for storing CSV files, just like a dedicated folder for drawings, for layouts, for menus, for mipmaps, for values, for xml, etc. I want to make the so-called "csv" ".

However, when I right-click the res folder, there are so many new options for the folder. When I create a new directory myself, it does not seem to appear in the Android view. Do I need a new Android resource directory? Or below in the dropdown folders of the Android table, where I can create a new asset folder, Java folder, Java resource folder, Res folder, etc.

+4
source share
1 answer

I want to make the so-called "csv".

This will not work. You cannot invent new types of resources. Put them in a directory assets/(or a directory assets/csv/if you want) or in a resource directory raw.

+2
source

All Articles