Can't build ... (invalid filename)

Monkey Targets Forums/Flash/Can't build ... (invalid filename)

Lindsay(Posted 2014) [#1]
I've installed Flex, set the path correctly, and everything seems to work fine until it spits out this error:

"TRANS FAILED: Invalid character in flash filename: Android/PlayStore-logo.png"

That file exists and seems valid, so I have no idea what to do next.

Anyone?

Thanks,
L.


therevills(Posted 2014) [#2]
You cant have a hyphen in the files of Flash applications.

Maybe title your threads a bit better for future users ;)

For example: Can't build ... Invalid file name error.


Lindsay(Posted 2014) [#3]
OK... but I didn't create that icon. I have no idea where it came from or where it's referenced. Yet it is the correct icon for my game! The only place I've put that icon is into the XCode project, and it has a totally different name.

Curious that I'm having a similar issue with my Android build ...


Lindsay(Posted 2014) [#4]
OK, I seem to have resolved this. Somehow an "Android" folder had made its way into my app's data folder, including the "invalid" file. Removing that folder let the build proceed.

Thanks,
L.