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
New Contributor
Posts: 6
Registered: ‎05-09-2011
My Device: BB Playbook 16GB BB Curve 8530
My Carrier: Boost Mobile

Error Creating Cert.

Hi guys I dont know if im in the correct forum but I am having problems creating a debug token in Flash Builder. Im currently using version 4.5 in Mac OS. In the step were I enter the device pin to create it I get "Certificate file does not exist" Why is it doing this? I already have created a certificate and validated my signing keys with rim. I will appreciate anyone's help.

Thanks

 

FB

New Contributor
Posts: 4
Registered: ‎05-10-2011
My Device: playbook
My Carrier: bell

Re: Error Creating Cert.

I have the exact same problem. I created a .p12 certificate file, with the same company name as the .csj file i received from RIM. Can somebody please clarify this? 

 

New Contributor
Posts: 6
Registered: ‎05-09-2011
My Device: BB Playbook 16GB BB Curve 8530
My Carrier: Boost Mobile

Re: Error Creating Cert.

Hey george try creating the debug token through the command line. It worked for me. Let me know if you need the link.

New Contributor
Posts: 4
Registered: ‎05-10-2011
My Device: playbook
My Carrier: bell

Re: Error Creating Cert.

yes please, i'd greatly appreciate a link!

New Contributor
Posts: 6
Registered: ‎05-09-2011
My Device: BB Playbook 16GB BB Curve 8530
My Carrier: Boost Mobile

Re: Error Creating Cert.

New Contributor
Posts: 4
Registered: ‎05-10-2011
My Device: playbook
My Carrier: bell

Re: Error Creating Cert.

Thanks very much for the help. I was able to create the bar file and uploaded it to the device. However, I'm not able to import it into the flash builder (in preferences>flash builder>target platform>signing). I'm getting the same 'certificate doesn't exist error. 

 

I tried to ignore that and run a helloworld app on the device, but I'm getting an error 'failure 500 BarFileUnsignedError. Did you happen to get this? I'm guessing this could be something to do with not being able to import the bar file into flash builder. 

 

Greatly appreciate you taking the time to read this!

Highlighted
New Contributor
Posts: 6
Registered: ‎05-09-2011
My Device: BB Playbook 16GB BB Curve 8530
My Carrier: Boost Mobile

Re: Error Creating Cert.

Ok that error is because you havent added the author and authorId to the blackberry-tablet.xml. To figure out your author and authorId you have to type this command:  

blackberry-airpackager -listManifest <path to debug token>

there you will find the authorId and past that into the xml. for example:

 

<qnx>
    <icon>
        <image>my_icon.png</image>
    </icon>
    <author>My Company</author>
    <authorId>gYAAgIqK0RLL5u4I9NanyxBUuCI</authorId>
    <category>core.games</category>
    <splashscreen>img/spalsh_landscape.jpg:img/splash_portrait.jpg</splashscreen>
    <action>use_camera</action>
    <action>read_geolocation</action>
    <action>play_audio</action>
    <buildId>349</buildId>
    <platformVersion>1.0.0.0</platformVersion>
</qnx>

after you've done this try running the debug again. It should work.