Native Audio cant find my mp3 files

I am using below code to load my mp3 files

this.nativeAudio.preloadSimple(‘sound2’, ‘assets/sound2.mp3’.then(() => {
console.log(‘preload success’)
}, (err) => {

However i get a error when preload the mp3 www/assets/sound2.mp3
I am sure the sound2.mp3 is placed in both /src/assets/sound2.mp3 and www/assets/sound2.mp3
Anyone got any ideas on it?

did you find any solution im also facing this issue

No i don’t. But now i use the html audio to play sound

private audioPlayer: HTMLAudioElement = new Audio();

how you used this html audio element please share that code with us