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

Adobe AIR Development

Reply
Contributor
Posts: 21
Registered: ‎07-23-2010
My Device: Not Specified

Create production .bar in FB4.5

I already found a topic were it was explained how to do this in FB4 however, I cannot create a .bar from production mode in FB4.5

 

Is it ok to upload the .bar from the bin-debug folder or should I do something else to create a production mode bar file?

 

Thanks!

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

Re: Create production .bar in FB4.5

[ Edited ]

hey sander,

 

its actually more straight forward in the 4.5 build. follow these steps:

 

Go to Projects > Export Release Build

 

From there near the bottom choose the option to "Export and sign a plat-form..." and then hit finish and your exported .bar file should be under the root directory of the project you just exported.

 

There will be a pop up stating it could not be installed just hit ok and ignore it for now.

 

You can confirm the bar file creation success by installing it on to your device via the command line:

 

 

blackberry-deploy -installApp -package [PackageName].bar -device [DeviceIP]

 

and clicking on it in the device and see it run.

 

make sure you are in the directory of your newly created bar file for the command line to work. hope that helps. good luck!

 

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