Problems with Audio Node in Android


I’ve a problem with the sound when I try to deploy an Android Application. I create the Audio Node with the following code:


AudioNode music = new AudioNode(assetManager, "Sounds/Decisions.ogg", true);;


If i run the application on the computer, the background music loop correctly. Instead, on an Android device , i get no sound at all, and checking on the output of the SDK i get the following error:

E/AndroidAudioRenderer( 9280): SEVERE AndroidAudioRenderer 23.12.38 Failed to play Sounds/Decisions.ogg

E/AndroidAudioRenderer( 9280): Sounds/Decisions.ogg

E/AndroidAudioRenderer( 9280): at android.content.res.AssetManager.openAssetFd(Native Method)


I Checked the libraries in the mobile project, and the .ogg file is present in the assets.jar.

Do i miss something?

I’ll look into it, but please don’t double post

Thanks for the reply.

Sorry for the double post. At first I didn’t notice an android specific forum thread, so I posted in the general audio forum.