android studio 添加assets文件夹

来源:互联网 发布:历史上真实的和珅 知乎 编辑:程序博客网 时间:2024/06/05 13:23

方法1



方法2

Looking inside the .iml file of your project you will see the following line:
 
 
 <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets"></option>
 
 
 
 
Therefore the "assets" folder is already declared for Gradle but you need to create it under src/main/ (I'm using AS 0.4.2)


0 0