Android How to quickly create raw and assets folders in Android studio

One plan

1. Create raw folder

Insert image description here
Switch to project browsing mode——> Find the res file and paste the file to be placed in the raw folder.
Of course, there is no raw file at this time, just add \raw after the path ~\res that appears in the input box on the right.

2. Create assets folder

Insert image description here
In the same way, paste the files to be placed in the assets folder under the main folder, and add the corresponding assets path to generate it.

Make complaints

The path is difficult to remember. When creating a project, it is created directly by the system to save trouble~

Guess you like

Origin blog.csdn.net/ganshenml/article/details/134172294