博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android Studio 添加Assets目录
阅读量:6967 次
发布时间:2019-06-27

本文共 601 字,大约阅读时间需要 2 分钟。

Android Studio 添加Assets目录:

 

法一:

  

Since Android Studio uses the new Gradle-based build system, you should be putting assets/ inside of the source sets (e.g., src/main/assets/), if I understand correctly.

  

法二:

In Android Studio, right-click on the enter image description here folder and navigate to the Assets Folder.

enter image description here

On the next screen just click Finish.

enter image description here

It will create the assets folder in the main target source set.

enter image description here

 

 

 

法三:

 

Looking inside the .iml file of your project you will see the following line: 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)

  

 

转载地址:http://fjisl.baihongyu.com/

你可能感兴趣的文章
对象序列化 输入输出流概念 InputOutStream OutputStream
查看>>
linux shell 基础 使用日志与心得
查看>>
转- prototype
查看>>
Linux下du加强版,灵活快速定位硬盘使用情况,无需安装
查看>>
使用Python批量修改数据库执行Sql文件
查看>>
重载运算符作为成员函数还是非成员函数
查看>>
移动端项目开发小结
查看>>
Gym - 101972B Arabella Collegiate Programming Contest (2018) B. Updating the Tree 树DFS
查看>>
Sass的使用
查看>>
Struts2问题总结
查看>>
OpenStack 界面开发中的排序问题
查看>>
ID--HANDLE--HWND三者之间的互相转换
查看>>
Elasticsearch学习笔记-04修改数据
查看>>
ubuntu 18.04 添加快快捷方式
查看>>
Hibernate总结(二)
查看>>
python寻找模块的路径顺序
查看>>
Oracle 基础教程
查看>>
TSP问题
查看>>
1、java集合:java集合详解及类关系图
查看>>
“去哪儿网”2015春招前端面试题
查看>>