我怎样才能排除文件到编译APK? [英] How I can exclude files into the compiled APK?

查看:132
本文介绍了我怎样才能排除文件到编译APK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要排除某些资产文件从最终的APK(几MP3的)。也就是说,他们不包括在编译APK。我怎样才能做到这一点使用日食?

I need to exclude certain assets files (a few MP3's) from final the APK. That is, they are not included in the APK compiled. How I can do this using eclipse?

先谢谢了。

推荐答案

您需要从资产文件夹中删除这些MP3的。如果你想与项目而不是让他们在APK,只需创建单独的文件夹(即项目并有移动文件)。此文件夹将通过构建脚本在一个地方可以省略,但你仍然可以拥有这些文件,并可以让他们即版本控制等。

You need to remove these mp3's from your assets folder. If you want to keep them with the project but not in the APK, just create separate folder (i.e. PROJECT and move your files there). This folder will be omitted by building scripts but you still can have these files in one place and can have them i.e. versioned etc.

这篇关于我怎样才能排除文件到编译APK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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