Spriter implementation fails on Android APK, while working in Corona Simulator on PC (but not MAC)

Resources:

https://github.com/XibalbaStudios/Spriter

It will bring an error in Corona Simulator for MAC:

"File: xml.lua

Line: 122

Bad argument #1 to ‘open’ (string expected, got nil)

stack traceback:

[C]: in function ‘open’

xml.lua:122: in function ‘loadFile’

spriter.lua:76: in function ‘NewFactory’

main.lua:68: in main chunk

while no error is brought in Corona SImulator for PC.

Then building the package for Android brings a black screen.

Can someone please post a version of this package which is working on Android devices?

Assumption:

Errors comes from use of system.ResourceDirectory in Android environment.

Cheers,

Matteo

You might be better off filing a bug against the github project rather than posting here. It looks like that library hasn’t been updated in some time.

You might be better off filing a bug against the github project rather than posting here. It looks like that library hasn’t been updated in some time.