23 May 2012 8:55 AM #1
Rename picto file to support Blackberry Build in phonegap.
Not sure if anyone else has run into this problem, but when I use sencha touch to develop native apps using Phonegap, I get the following error when building for Blackberry Devices.
Invalid application archive - resource name is not valid(sdk/resources/themes/images/default/pictos/power socket.png)
This is a problem with their packager.. Here's what phonegap had to say about this error:
The BlackBerry Widget Packager, a RIM tool that takes your application assets and packages them into a BlackBerry-compatible binary, has very stringent rules on what characters your filenames and directories can be composed of. Make sure all of your filenames and directories contain only alphanumeric characters. Until RIM can fix this issue, unfortunately there is nothing we can do about this.
I think the BB packager complains about the space character in the filename. For now, I will simply remove this file, since I don't need it for my app. But renaming this file would make this process smoother for future releases.
Thank you in advance.
24 May 2012 3:05 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
In 2.0.1 and the next release 'power socket.png' was renamed to 'power_socket.png'Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.