当把资产的文件夹中的Andr​​oid工作室 [英] Where to place Assets folder in Android Studio

查看:138
本文介绍了当把资产的文件夹中的Andr​​oid工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Android Studio的一个应用程序开发(0.2.5版)。 我感到困惑的资产文件夹。它不来自动创建了Android的工作室,几乎所有在此讨论谈Eclipse的论坛。

I am using Android Studio for an app development (0.2.5 version). I am confused about the Assets folder. It doesn't come auto-created in Android Studio, and almost all the forums in which this is discussed talk about Eclipse.

如何在资产目录中的机器人工作室配置?

How can the Assets directory be configured in Android Studio?

推荐答案

由于Android Studio使用的摇篮新的基于构建系统,你应该的资产/ 内源集(例如,的src /主/资产/ )如果我理解正确。

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.

这篇关于当把资产的文件夹中的Andr​​oid工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆