我不能在资源目录添加新的文件夹 [英] I cannot add new folder at res directory
本文介绍了我不能在资源目录添加新的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要建立在res文件夹此文件夹的声音,但我不能,我不乳清?
I need to create folder at res this folder has sound but i couldn't and i don't whey ?
推荐答案
我们必须创建一个 原材料
文件夹,然后添加你的mp3
We must create a raw
folder and then add your mp3
您访问您的文件,该文件的方式:
getResources().openRawResource(R.raw.sound);
这篇关于我不能在资源目录添加新的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文