My app works fine on the simulator, but when I build and copy the apk to my android phone, when pony tiled tries to load the first map, it seems it can’t find an image:
Runtime Error
C:\Users\Nelson\Desktop\Blueberry_Escape\com\ponywolf\ponytiled.lua:204: attempt to index local ‘image’ (a nil value)
Apart from building for android from the simulator and then copying over the apk file and installing from that, are there any other steps I need to take to build to android?
The json tiled map files have the image path in the format like this:
“image”:"…/sprites/tiles/beach/beach_vert.png"
I don’t see any issues with it and like I said everything works fine on the simulator.
There’s usually a notification on the console that the path or filename differs on disk. It could also be that your filename itself is capitalised, e.g. .PNG, .JPEG, etc.
Well, tried to follow the steps in the second link but I’m not seeing an installer anywhere.
I downloaded the sdk-tools-windows-4333796.zip under the command line tools only section. Now I’m stuck on " Install the tools. On Windows, run the installer".
I see a lot of windows batch files and a few applications but none of them look like an installer to me.
Seems like I must be doing something wrong… I doubt it should be so difficult to figure out how to install the tools