Add assets directory under Android Studio

Add the assets directory in Android Studio, the location of the directory is

XXX\src\main\assets

 

XXX represents the path of your project, assets are placed in the src\main directory.

 

This location can represent your own project name through XXX.iml XXX, in which there is a directory for setting assets, the settings are as follows

 

<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />  

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326611674&siteId=291194637