Search code examples
appceleratorappcelerator-android

Appcelerator Android Packaging Failed


Getting what appears to be a simple error and I have no idea how to resolve it:

res/drawable/DefaultIcon.png: Invalid file name: must contain only [a-z0-9_.]

The problem with the error is apparent. DefaultIcon.png is already alphabetical. How do I resolve this strange bug so I can package my app for the app store?


Solution

  • This regular expression tells that you have to use only lower-case alphabets, or 0-9 digits, or an underscore or a period (.).

    Change the filename to all lowercases like defaulticon.png & it will work.

    When I used a file name as DefaultIcon.png, I got the same error.

    Then I renamed that file to all lower-cases alphabets & it worked fine.enter image description here