APK file can't read m4a files

So I recently tried to make a mobile version of my RPG game using thisfeature for android studio:

The game opens and works on mobile, but there's a problem, it can't load m4a files. The error of "failed to load file: X" shows up. Png images work perfrctly as the game shows all the sprites and graphics. However it will show errors of not loading m4a files nonstop, whuch is awkward as I thought m4a files are for mobile. The failing files are only files I've added myself, but they're definitely exisiting in the right folders in m4a format, and they're written in the correct names that the games tries to load. Therefore I have no idea what makes them different from the default m4a files the game loads successfuly. (No sound will play at all but errors indicate only the files I added.)

Does anyone know what's the problem? Help will be very much appreciated.
are the ogg files included? if not, you might gave the error because mobile needs
both files as well as web based.

for pc, only ogg are required. in case you have both, does it has the required codex?
because lower or above wont work, I beluve is was H264? you need to find that and
see if its teh same codex you use for mobile.
what are the filenames for the files that aren't loaded?
This error is often caused if the filenames do not follow networking conventions, because then the engine itself cannot load the files as well.
This is sometimes hidden under windows because windows has some overrides to load the wrong filenames to cover a specific type of filename errors, but that override will stop working as soon as you go non-windows.
are the ogg files included? if not, you might gave the error because mobile needs
both files as well as web based.

for pc, only ogg are required. in case you have both, does it has the required codex?
because lower or above wont work, I beluve is was H264? you need to find that and
see if its teh same codex you use for mobile.

Tried adding all the OGG files in addition to the m4a files. Still not working, showing errors only on "failed to load: X.m4a".

I have no idea what's codex. What is it\how do I set it to be right? The problem however is definitely related to sound files only, not something general about the app.

what are the filenames for the files that aren't loaded?
This error is often caused if the filenames do not follow networking conventions, because then the engine itself cannot load the files as well.
This is sometimes hidden under windows because windows has some overrides to load the wrong filenames to cover a specific type of filename errors, but that override will stop working as soon as you go non-windows.

Some of the file names has spaces which are replaced by %20, which is just a way to display space in code so it doesn't seem like a problem. I would give it a shot but some of the files has no special names at all, only english letters and nothing else.
There are many files so I can't list them.

However, all the names are weirdly still only files I've added. All have both ogg and m4a files, with correct names, in the regular bgm and se folders.
Is it possible the pictures are rendered together with the APK but the audio files need a special folder seperated from the APK File?

Or is there any other possible reason this problem would happen? I'm really breaking my head on this one.
Some of the file names has spaces which are replaced by %20, which is just a way to display space in code so it doesn't seem like a problem. I w
absolutely wrong. that %20 is a windows-exclusive override that will NOT work in any other operating system (who usually have different overrides) and is known to block deployment completely if you're unlucky.

ALL replacements (%-number) in all error messages happen because the browser itself can't handle the symbols they replace.
You need to replace all those forbidden symbols and spaces in all your filenames or they will cause trouble with deployment to other operating systems, and sometimes even under windows (because that override doesn't always work correctly.

Original thread: https://forums.rpgmakerweb.com/threads/apk-file-cant-read-m4a-files.122073/