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

Android™ Development

New Contributor
Posts: 2
Registered: ‎09-25-2012
My Device: BlackBerry

APK to BAR Error

Hello, I tried to repackage and signing an APK
file to BAR - https://bdsc.webapps.blackberry.com/android/bpaa/app-signing-bar-creation
But I received this message: We're sorry, an error occurred while processing
your request. The information has been registered and we're working on getting
this fixed as soon as we can. I have no idea what the error was, just said you
are working on it. Can someone please tell me what is going on? And how do I
get it to work?


Thank you.


Posts: 508
Registered: ‎01-19-2011
My Device: My Trusty Red Plane
My Carrier: Outer Space

Re: APK to BAR Error

sounds like there was an error in the server - try again later Smiley Happy

I'm a bird from outer space. But I'm not flappy o.o
Posts: 1,452
Registered: ‎11-06-2009
My Device: Torch 9810
My Carrier: WiFi

Re: APK to BAR Error

It's not the server. For some reason the repackaging fails. Better download the offline command line tools for repackaging and try it by yourself - you will get a detailed error message what's wrong. Most probably something with the app icon.



(scroll down until you see Command-line Tools)

"When you become a level 3 developer, you learn to communicate over the ether. I'm told that level 5 developers are ascend into a higher level of existence beyond the physical realm." gord888 @ crackberry
New Contributor
Posts: 2
Registered: ‎09-25-2012
My Device: BlackBerry

Re: APK to BAR Error

Thank you.  I actually tried command line tool, but it didn't ask for certicate.  With the online tool, it asked for certificate, and pass code.  I will look again.

Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: APK to BAR Error

Hey dchen,


The process with the command-line tools is :


1. Repackage the apk to a bar


apk2bar MyApk.apk


2. Sign the bar (after your keys have been registered)


batchbar-signer MyApk.bar <path to dev certificate> <keystore password>





Justin Jasmann | Android Application Development Consultant
Developer Relations
Posts: 140
Registered: ‎07-24-2012
My Device: Blackberry Z10 LE, Q10 And PlayBook
My Carrier: Vodafone

Re: APK to BAR Error

IF you have code add the ADT tools which is avail in the blackberry developer android.


steps to get ADT tools 



also there are lot of permissions which are not avail in the present Android runtime so we have to build app without this permissions .



Hit Like if you find my post Use Full Thank You...