How to add sound file to resources


#1

Hey everyone,

I want put a mp3 file to resources,so i edit config.xml like this

<platform name="android">
    <source-file src="resources/android/sound/sound.mp3" target-dir="res/raw"/>
</platform>

but it doesn’t add sound.mp3 to res/raw folder.

anyone can tall me how to do this?thx.