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

Web and WebWorks Development

Reply
Developer
Posts: 63
Registered: ‎10-07-2009
My Device: Not Specified
Accepted Solution

creating a debug token, problems

[ Edited ]

Hello,

We have a problem about Create a debug token from the command line:

http://docs.blackberry.com/en/developers/deliverables/27280/Running_unsigned_apps_debug_tokens_15850...

 

I pass the first step correctly:

C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2
.0.0.4\bbwp\blackberry-tablet-sdk\bin>blackberry-debugtokenrequest -register -cs
kpass xxxxxxxxxxx -csjpin xxxxxxxxxxxxxx "C:\Program Files (x86)\Research In Motion\B
lackBerry WebWorks SDK for TabletOS 2.0.0.4\bbwp\blackberry-tablet-sdk\bin\csjs\
client-PBDT-2376152867.csj"
Successfully registered with server.

 

But the second step:

blackberry-debugtokenrequest -cskpass <csk password> -keystore <.p12 file> 
    -storepass <keystore password> -deviceId 0x<PIN tablet 1> 
    -deviceId 0x<PIN tablet 2> -deviceId 0x<PIN tablet n> <debug_token_file_name.bar>

(first, there are 3 parameters named "-deviceId" ?)

I do:

C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2
.0.0.4\bbwp\blackberry-tablet-sdk\bin>blackberry-debugtokenrequest -cskpass xxxxxxxxx -keystore "C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.0.0.4\bbwp\bin\sigtool.p12"
-storepass XXXXXXXXXX -deviceId 0x501XXXX2 -deviceId 0x501XXXX2 -deviceId 0x501XXXX2 debugtoken.bar

And return: "debugtokenrequest error: no devices specified"

 

We are stopped finding a solution, but we don't find any thing.

 

Any suggestions?

 

Thanks


Developer
Posts: 63
Registered: ‎10-07-2009
My Device: Not Specified

Re: creating a debug token, problems

[ Edited ]

I have avanced, we move the -deviceId to top (only one):

blackberry-debugtokenrequest -deviceId 0x501XXXX2 -cskpass XXXXXX -keystore "C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.0.0.4\bbwp\bin\sigtool.p12" -storepass xxxxxxxxx debugtoken.bar

now return:

 

debugtokenrequest error: keystore load: C:\Users\Albert\.keystore (El sistema no puede encontrar el archivo especificado)

Translate: "The system can not find the file specified"

 

 

 

Developer
Posts: 63
Registered: ‎10-07-2009
My Device: Not Specified

Re: creating a debug token, problems

please, any suggestions?

Developer
Posts: 63
Registered: ‎10-07-2009
My Device: Not Specified

Re: creating a debug token, problems

we solved. We don't specify the sigtoolpath and include the entire debug token bar path:

 

blackberry-debugtokenrequest -cskpass xxxxx -keystore sigtool.p12 -storepass xxxxx -deviceId 0x50115XXX -deviceId 0x5013B8AA "C:\appbar\debugtoken.bar"