#MUSIC_FILES problem

Monkey Targets Forums/Android/#MUSIC_FILES problem

SLotman(Posted 2016) [#1]
Something is wrong here. I set on my Android target

#MUSIC_FILES = "*.ogg"

but then, after building the apk, if I go the the build folder, it copied both MP3s and OGGs from my music folder into the build.

The only fix I have for now is going into the apk and manually deleting those mp3s, which is no good solution.

Is there something wrong here in my end, or does monkey behave changed?


ImmutableOctet(SKNG)(Posted 2016) [#2]
Try changing your "CONFIG.monkey" file for the target to not specify 'MUSIC_FILES', or move this configuration to that file.


SLotman(Posted 2016) [#3]
So there is no point in having #MUSIC_FILES and #SOUND_FILES inside our code (unless you want to include a specific format) ?

I understand now what is going on, since "config.monkey" does #MUSIC_FILES +="(...)" - and changing its behaviour at this point may break stuff for others :(