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: ‎10-14-2009
My Device: Not Specified

Unable to start <application> due to error 22

First version of the app was developed using the webworks framework, that was good enough.


And the next version of the app has been developed using Android Framework. Its also working fine.


But when trying to submit the update, it shown a error message regarding 'package-id'.


After all, I found a way to solve that using 'apk2bar' command, and i have placed a custom manifest at the apk file's directory.

 Ex: apk2bar <apkfile> <androidSDK> -m


The above command has generated a bar file.


and I have signed the new bar using 'blackberry-signer' command.

Ex:blackberry-signer -storepass <pwd> <barfile>


Now I have new signed .bar file.


I have installed old .bar file (first version), working well. And installed new .bar (built from Android) its showing "Unable to start Application due to error 22".


Does anyone have solution for this?

New Developer
Posts: 11
Registered: ‎03-10-2012
My Device: Bold 3
My Carrier: Airtel Nigeria

Re: Unable to start <application> due to error 22

I am also having the same error on Blackberry 10