I didn't found raw directory in my android studio. Where can I add .mp3 file in Android Studio? I didn't find exact answer for this? Please answer this if anyone knows about it.
Asked
Active
Viewed 190 times
0
-
2Possible duplicate of [Where to place Assets folder in Android Studio](http://stackoverflow.com/questions/18302603/where-to-place-assets-folder-in-android-studio) – Ivan Gabriele Jun 20 '16 at 00:21
1 Answers
0
I didn't found raw directory in my android studio.
There are an infinite number of possible resource directories. Android Studio does not create all of them.
Where can I add .mp3 file in Android Studio?
You can create a res/raw/
directory yourself. Right-click over res/
and choose "New > Android resource directory" from the context menu.
Or, you can create an assets/
directory yourself, if there is none already in your module. MP3 files tend to work better as raw resources, as the various media APIs usually have hooks for working with raw resources.

CommonsWare
- 986,068
- 189
- 2,389
- 2,491
-
Yes. I directly added in the folder like AndroidStudioProjects\Background\app\src\main\res\raw..Thanks – HeyThere Jun 19 '16 at 19:32