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

Android™ Runtime Development

Reply
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.

 

Developer
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 :smileyhappy:

-----------------------------------------------------------------------
I'm a bird from outer space. But I'm not flappy o.o
Developer
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.

 

https://developer.blackberry.com/android/tools/

(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.

Retired
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

 

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Developer
Posts: 137
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 

https://developer.blackberry.com/android/documentation/install_plugin_prerequisites_1895476_11.html

 

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...