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

Adobe AIR Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Developer
Posts: 24
Registered: ‎02-06-2011
My Device: BlackBerry Z30
My Carrier: Virgin Mobile

How to create a bar file?

So I've spent the last two days scouring these forums trying to find something which talks about how to actually create a bar file for submission, but alas, I can't find it.


I know we don't have to sign the file. I've made my app, been able to test it via the simulator and all that's done, I'm just at the point where I need to submit the app, but in order to do that I need to figure out how to create the bar file. I've tried  adding the " -debug=false" option to the compiler, but that causes a stack overflow error when trying to compile and run the app, and it just locks up the simulator when tryign to load it onto there. I'm running Flash Builder 4.01, any help would be appreciated.

Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: How to create a bar file?

hey bart,


can we get a screen shot or the exact line and where you are inserting the -debug=false ? it'll help us better get the picture. thanks!

J. Rab (Blog) (Twitter)
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Posts: 1,269
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: How to create a bar file?

[ Edited ]

Search the board for "release build" - there are several threads marked as solved.  


See for example




note that this thread states Export Release Build integration works in FB 4.5 but not 4.0(.1?) but a workaround is provided.

Trusted Contributor
Posts: 108
Registered: ‎12-28-2010
My Device: Free PlayBook
My Carrier: Verizon

Re: How to create a bar file?

If you can test it in the simulator it's package as a bar file. Look in the bin-debug folder,