How to Play a Sound Effect in Cocos2d-x 4.0 C++

I’m making a platformer and I want to have a .wav sound effect to play when I jump.
I tried both SimpleAudioEngine and AudioEngine and both didn’t work.
Thank you.

what is the error ? or issue you are facing?