Failed to load audio.m4a on Android

Hello forum! I have a problem.I created an apk of my project,build succesfull,everything good,but when I run it on my phone it shows an error "Failed to load audio/bgm/filename.m4a".I tried 


copying the oggs in the audio folder as well but it didn't work,It  actually made it impossible to even install the app,so i removed them.Why can't my phone load the m4a?How can I solve this?
two possibilities:


1) illegal filename - your phone can only load filenames that conform to networking environments, but Windows has overrides to load files that do not conform to those rules, resulting in that you can load a file in the editor and on windows but not after deployment in a different device.


Solution: rename the file into something that is correct for networking


2) wrong codec or settings


M4A is not a single audioformat, but a format family that can code audios in different ways. If your audioprogram tried to increase compression by using non-standard compression codecs, your phone (especially if it is older) may not be able to handle the decompression mathematics.


Solution: recode the audiofile into settings that are more common
On solution one does it mean that I have a filename like Audio_Rnbx[bj].m4a ,totally rondom ex of strange name and I should rename it like song.m4a?


I have an Acer E39,android 4.4.2 ,
Is it possible to convert the m4a to mp3,will it work?


Thanks for help anyways!


I tried everything :


changing formats


changing bitrate to a lower value


changing names of the audiofiles and editing the entire project....


And I still get the same error
I'm in a very similar boat...


I noted that it wouldn't take the ogg files when I deployed for iOS. I HAD to go back in and give it M4As for them to load, though they seem to have issues playing on an emulated iPad2...
Hello forum! I have a problem.I created an apk of my project,build succesfull,everything good,but when I run it on my phone it shows an error "Failed to load audio/bgm/filename.m4a".I tried 


copying the oggs in the audio folder as well but it didn't work,It  actually made it impossible to even install the app,so i removed them.Why can't my phone load the m4a?How can I solve this?



Vio99, I'm having the same problem. Did you ever find a solution?
most android i saw uses ogg so I simply edited the script to only read ogg extension
We are having this problem still as well. Anyone find a solution?
I simply used ogg. Most of android games I have seen use ogg.
We are having this problem still as well. Anyone find a solution?
Moderator note: Please do not hijack someone else' problem topic but make your own topic
Make sure you post the info concerning the possible cause mentioned above like the full path to the audiofile and the info about its codec and audio settings.

closing this

Original thread: https://forums.rpgmakerweb.com/threads/failed-to-load-audio-m4a-on-android.69422/