Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Posts: 78
Registered: ‎05-17-2012
My Device: 9900 - OS 7.0 Torch device
My Carrier: Reliance

Unable to package Gitbub samples

Hi All,

 

I am trying to package (using command line Bb-webworks SDK 2.3.1)sample apps of Github. But its throwing error below :

  Invalid application archive - failed to find config.xml

 

I could observe that all the applications having the same error message while packaging. Can you guys suggest me what should be taken care while doing the same.

 

Thanks in Advance.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Unable to package Gitbub samples

As this appears to be a Web Works question, I think you should ask in the associated forum:

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Unable to package Gitbub samples

Which sample are you trying to package?  The ZIP file that you create should contain a config.xml file in its root folder location like this (good):

 

foobar.zip

  • config.xml
  • index.html
  • stuff.js

 

if you try to ZIP up a folder, it may cause the config.xml file to be saved in the wrong location and missed by the packager, like this (bad): 

 

foobar.zip

  • /foobar
    • config.xml
    • index.html
    • stuff.js
Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.