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

Native Development

Reply
Regular Contributor
robinhuang
Posts: 52
Registered: ‎02-08-2013
My Device: Z10
My Carrier: Rogers

share debug token on two Ubuntu computers

Hi all,

 

I created debug token with two .csj files and set up device debug with on one Computer;  How could I replicate the debug environment on another computer. I am using Ubuntu.  Shall I just copy debugtoken file?

 

thanks,

 

Please use plain text.
Developer
aklowther
Posts: 47
Registered: ‎01-15-2013
My Device: Z10
My Carrier: N/A

Re: share debug token on two Ubuntu computers

You looking for this: Backup & Restore?

Please use plain text.
Developer
cycletronic
Posts: 113
Registered: ‎03-23-2011
My Device: Playbook, Z10
My Carrier: Platinumtel

Re: share debug token on two Ubuntu computers

All that really matters is that you have a current debug token on the device, and that the author name and ID in your bar-descriptor.xml match the debug token.  The IDE will complain about a debug token, but you can run anyway.

 

If you want to get rid of the annoying messages, you can just copy the debug token to the other machine, connect your device, then bring up the device properties in the IDE (Right-click on device in project explorer -> properties -> BlackBerry Target -> Debug Token details).  Then click import and find your debug token .bar file.  For convenience, I just keep my debug token in dropbox, so when I renew it it's automatically up-to-date on all computers.

----------------
WIP game: Melodaeum
My graphically bland but very useful Morse Code trainer: Speed CW
My graphically attractive but boring game: The Rainstorm
Please use plain text.
Regular Contributor
robinhuang
Posts: 52
Registered: ‎02-08-2013
My Device: Z10
My Carrier: Rogers

Re: share debug token on two Ubuntu computers

 

Thanks.

 

 

Follow instruction Backup & Restore, I could restore developer certificate on another PC. Also I copied the debugtoken.bar to another PC and imported.  

 

When z10 is connected in new PC, it is can be automatically discovered in debug target setting. But connection failed. Right click the IP address in Project Explore and click Menu Blackberry Tools/Connect. Connection always failed. The same device works on the original PC.

 

 

Please use plain text.
Developer
cycletronic
Posts: 113
Registered: ‎03-23-2011
My Device: Playbook, Z10
My Carrier: Platinumtel

Re: share debug token on two Ubuntu computers

Is development mode enabled?

 

Are you using linux?

----------------
WIP game: Melodaeum
My graphically bland but very useful Morse Code trainer: Speed CW
My graphically attractive but boring game: The Rainstorm
Please use plain text.
Developer
aklowther
Posts: 47
Registered: ‎01-15-2013
My Device: Z10
My Carrier: N/A

Re: share debug token on two Ubuntu computers

Another thread mentions having issues with z10 drivers, not sure if this is your issue though.  

 

http://supportforums.blackberry.com/t5/Native-Development/debug-on-z10/m-p/2149611/highlight/true#M1...

Please use plain text.