newSource file not found

Create issue
Issue #151 resolved
Laurent Zubiaur created an issue

Hello,

I can build the apk from source and it works fine when I push game.love and start the app using adb.

adb push build/game.love /sdcard/game.love
adb shell am start -S -n "org.love2d.android/.GameActivity" -d "file:///sdcard/game.love"

The issue comes when I bundle game.love within the apk (in the assets folder) then love.audio.newSource gives a "file not found error".

love.filesystem.exists can not find the audio file but loading image works fine.

fyi the audio is a xm file.

Comments (2)

  1. Laurent Zubiaur reporter

    I managed to make it works. Seems that there was some kind of conflict with the filenames. There was two files with the same name but different extensions. I renamed one of the files and it worked.

  2. Log in to comment