Application Corrupted - Check Your .tmx files!

Posting this since it took me an age to find out why my Android app would work fine in the simulator but gave me the “application corrupted” message when I ran it on my phone.

There are many posts about how having a flat file directory structure means that Android deployment should work fine but beware if you’ve created a Tiled.tmx XML file using a tileset resource that was buried in a folder (even if you’ve later .

At the top of the .tmx XML file there is

<image source="your-file-name.png" width="192" height="544"></image>

The image source is worth checking to ensure it doesn’t refer to a tileset in a directory somewhere (e.g. tilesets/your-file-name.png).

Hope this helps someone else!

Jon [import]uid: 127716 topic_id: 22017 reply_id: 322017[/import]