Unable to play sound effects on Android.

Hi all,

I'm trying to get the sound working, but I have a simular problem as the "CCSimpleAudioEngine does not work?"
(.../discussion/29575/ccsimpleaudioengine-does-not-work)
On Android (Samsung galaxy S7 hardware) the music works, but the effects don't.
I run the same code on my windows DX version -> music AND effects work.
I'm unable to run on iOS as i don't have an iOS device.
I share the same an monogame content.mgcb file between both platforms.

Any ideas?

Best Answer

  • 71M71M
    Accepted Answer

    I noticed that the version of the MonoGame.Framework.dll that was installed by the CocosSharp.PCL.Shared package was old.
    I used nuget to install the latest version of MonoGame.Framework.Android wich updated the MonoGame.Framework.dll.

    SoundEffect problem fixed!

Answers

  • 71M71M Member
    Accepted Answer

    I noticed that the version of the MonoGame.Framework.dll that was installed by the CocosSharp.PCL.Shared package was old.
    I used nuget to install the latest version of MonoGame.Framework.Android wich updated the MonoGame.Framework.dll.

    SoundEffect problem fixed!

Sign In or Register to comment.