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
BlackBerry Development Advisor
MSohm
Posts: 14,685
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook

Re: converting .apk to .bar using the graphical aid software

You environment looks to be setup correctly now.  The error you are getting is in regards to the version used in the APK file.  The second set of digits (133252) is too long.  You'll need to reduce that to 4 digits, rebuild the APK file and then convert.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Contributor
Arabianhorse
Posts: 13
Registered: ‎04-16-2012
My Device: Blackberry Playbook, Torch 9850

Re: converting .apk to .bar using the graphical aid software

I have tried to obtain an answer previously to this question.  I have installed the Blackberry graphical aid.  This is my configuration.

 

Blackberry Tablet OS Location:  C:\Users\my name\Desktop\CommandLineTools\blackbery.tools.SDK

Blackberry Web Works SDK Location: same

Blackberry SDK for Android apps: same

Android SDK: C:\Users\my name\Desktop\android-sdk_r18-windows\android-sdk-windows

 

I set up my developers certificate and code signing keys, all runs well and I have my debug token set up.

 

When I try to buid android i appear to get no errors but when I try to install bar files, I get   failure 881 required signatures missing (RDK, Author)

 

I thought those had already been created.  Help please.  I am trying to convince our IT department to use Playbook for electronic medical records.  I ama a physician.  They keep asking me to look at the iPad.  help please

Please use plain text.
BlackBerry Development Advisor
MSohm
Posts: 14,685
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook

Re: converting .apk to .bar using the graphical aid software

The locations of the 3 BlackBerry SDKs should not be the same.  Each SDK should be installed into a unique directory.  Did you install them all in the same place?  If you don't have all of them installed clear out the ones you do not.

 

Does the Configuration tab show that the Developer Certificate, RDK and PBDT keys have been installed?

 

What is the output of the following command:

 

blackberry-signer -verify -verbose yourBar.bar

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Contributor
Arabianhorse
Posts: 13
Registered: ‎04-16-2012
My Device: Blackberry Playbook, Torch 9850

Re: converting .apk to .bar using the graphical aid software

I followed the protocol from Crackberry March 2012 which did not work.  I have:

downloaded Blackberry WebWorks SDK for Tablet OS and am installing now: no problems

downloaded AdobeAIR SDK 3.2 and ran it; it worked for the WebWorks

downloaded Blackberry Tablet OS SDK for Adobe Air 2.0 and tried to install but it doesn't like the 3.2 version or AdobeAir.  It says incorrect Air SDK selected!  This is the same version. Do I have the wrong Tablet SDK version.

Please use plain text.
BlackBerry Development Advisor
MSohm
Posts: 14,685
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook

Re: converting .apk to .bar using the graphical aid software

You need to download the Adobe AIR SDK 3.1.  Version 3.2 is not yet supported.

 

But note that you don't need all of these to convert an APK file.  Only the 2 Android SDKs are required for that.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Contributor
Arabianhorse
Posts: 13
Registered: ‎04-16-2012
My Device: Blackberry Playbook, Torch 9850

Re: converting .apk to .bar using the graphical aid software

Sigh.  Thanks.  I will get on it.  Really, I appreciate this tremendously.

Please use plain text.
Contributor
cccd3cpt
Posts: 11
Registered: ‎02-21-2012
My Device: Playbook

Re: converting .apk to .bar using the graphical aid software

If you used:

Crackberry link for Graphical Aid setup

 

to set up the aid then that might be the problem. It doesn't really explain the process very well.

 

Please use plain text.
Contributor
cccd3cpt
Posts: 11
Registered: ‎02-21-2012
My Device: Playbook

Re: converting .apk to .bar using the graphical aid software

If you guys are still looking for a solution here it is:

You actually can have all the sdks in one. IF you only want to make android to playbook/BB10 apps.

 

My config:

Tablet OS SDK location: C:/blackberry-tablet-sdk

Webworks SDK: SAME

SDK for android: SAME

Android SDK: C:/Program files/Android/android-sdk

 

The problem you are having is that you do not have the Android SDK 'Installed'.

Navigate to the android SDK folder, open up the 'SDK Manager', when it oppens up, go under 2.3.3 sdk, check off the 2.3.3 sdk [Note only get SDK if you want to only use Graphical Aid], and also on top check off the 'SDK tools'
.

Wait for that to finish downloading. Then go back to the Aid and try converting.

 

This should solve your problem.

 

Cheers!

Please use plain text.
New Member
kabbara82
Posts: 1
Registered: ‎06-14-2013
My Device: Blackberry Z1- , STL 100

Re: converting .apk to .bar using the graphical aid software

hello , i was searching for posts concernin the grapihcal aid , im looking to convert and android app to blackberry 10 app and try it on my z10 , i already requested signing keys , recieved them , created a keystore key and a debug token , but im having probllem converting the app using the GUI i already downloaded and installed Android SDK , i also installed the 2.3.3 package ( Android + SDK Platform) the android Sdk was installed under C:\Program Files (x86)\Android\android-sdk and i download a zip archive containing the command line tools , when converting the app in the GUI after doing all the steps needed ,the result for building was [Key error](apkverifiyer] is no a directory for the sdk in C:\Program Files (x86)\Android\android-sdk.is there something wrong cause can't udnerstand anything , the path is right the two files needed to convert the app (aapt.exe and dexdump.exe) are also in that location . Help Please

Please use plain text.