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

New Contributor
Posts: 8
Registered: ‎08-15-2012
My Device: Playbook
My Carrier: China Network Systems

Can't build .Bar from zip by Blackberry Graphical Aid

I've tried all I can to build the .bar form my Webwork zip file.


1.Ripple can't open (←reinstall it)

2.Ripple can't package anything

3.Ripple Chrome can't open path localhost:9900

4.OMG I Found Blackberry Graphical Aid


It seems this Aid will make my life easier, but actually not:



After tried this, I tried to build .bar from my Android(APK) file, 

still failed. Here are my cofiguration and error message:


May I ask some way to make my .bar built correctly?

Graphical Aid way better.


Thank you very much, it has taken me 2 whole days.


Regular Contributor
Posts: 81
Registered: ‎03-09-2012
My Device: PlayBook & Bold 9780
My Carrier: n/a

Re: Can't build .Bar from zip by Blackberry Graphical Aid

[ Edited ]

Ignore "input bar folder or file does not exist", you got another clear error message: "ERROR: Android SDK path not set".

Some lines above I see a double backslash in the -cp argument (java classpath) which I cannot explain nor see weather it leads to problems.


My advice:

* double & triple check the actual location of your Android SDK (must use the "bin" subfolder?)

* try using pathnames without any embedded spaces, some tools don't parse them well.

* forget Graphical Aid, do it old-fashionned with a .cmd file, or even better: make an ANT task in Eclipse.




NB: since you're converting an Android app: https://developer.blackberry.com/android/tools/

Neither Ripple nor Graphical Aid are listed there to package the .bar.

Did you try it online or with the Eclipse plugin? Should be easypeasy as well ;-)