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
Developer
Posts: 114
Registered: ‎08-09-2010
My Device: Tour
My Carrier: Bell

Re: debugtokenrequest error: illegal device ID xxxxxxxx

Elena, I do my packaging/deployment from the command line, and followed the command line instructions carefully. I did include the author and authorId values as described. But there was no mention anywhere in the documents I read about the -devMode requirement.

 

I just added that to my script, and now it deploys successfully...thanks!

 

Perhaps you have noticed that the documentation omits some important details...

Developer
Posts: 110
Registered: ‎10-31-2010
My Device: Blackberry Torch 9800
My Carrier: Bell Mobility

Re: debugtokenrequest error: illegal device ID xxxxxxxx

Oh this is wonderful... because the doc's didn't mention to add the .bar file and just said to point at the directory where I wanted it, the packager DELETED my entire Application Directory!!!!    Argh!!!!! (Thank goodness I made an FXP of my release files).  Did nobody at RIM test this?  

Best regards,

Brent

If you found my post helpful, please thank me with a Kudo. Thanks!
Developer
Posts: 204
Registered: ‎08-09-2010
My Device: 9930, PlayBook
My Carrier: Verizon Wireless

Re: debugtokenrequest error: illegal device ID xxxxxxxx

Hi Elena

How do you package in "-devMode" for flash builder?  

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: debugtokenrequest error: illegal device ID xxxxxxxx

Could someone post a mini-tutorial on this?

 

Full command line arguments

New tags in blackberry-tablet.xml files and where they come from

 

I hope to get to this later today, but hopefully someone has blazed this trail already.

BlackBerry Development Advisor
Posts: 15,753
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: debugtokenrequest error: illegal device ID xxxxxxxx

 


brentcameron wrote:

Oh this is wonderful... because the doc's didn't mention to add the .bar file and just said to point at the directory where I wanted it, the packager DELETED my entire Application Directory!!!!    Argh!!!!! (Thank goodness I made an FXP of my release files).  Did nobody at RIM test this?  


Acknowledged that is a serious bug.  It has been escalated to our development team to fix (don't delete if it is a directory) and to our docs team to make this very clear in the documentation.

 

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
Developer
Posts: 204
Registered: ‎08-09-2010
My Device: 9930, PlayBook
My Carrier: Verizon Wireless

Re: debugtokenrequest error: illegal device ID xxxxxxxx

So I have the debug token uploaded and installed on my device. I hit run or debug and the app gets pushed to my device no problem.  I get Error Code 13 in the notification area when it auto launches.  What do I need to do to actually run or debug my app using the debug token.  Using Flash Builder 4.

BlackBerry Development Advisor
Posts: 15,753
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: debugtokenrequest error: illegal device ID xxxxxxxx

 


streak81 wrote:

So I have the debug token uploaded and installed on my device. I hit run or debug and the app gets pushed to my device no problem.  I get Error Code 13 in the notification area when it auto launches.  What do I need to do to actually run or debug my app using the debug token.  Using Flash Builder 4.


 

Error code 13 generally means the application was not signed, but needs to be.

 

Verify your author and aurhorID fields in the blackberry-app.xml file.  If these aren't correct, they won't match your debug token and the PlayBook won't let the unsigned application run.

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
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: debugtokenrequest error: illegal device ID xxxxxxxx

Mark, is there a published list of such error codes available?

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 204
Registered: ‎08-09-2010
My Device: 9930, PlayBook
My Carrier: Verizon Wireless

Re: debugtokenrequest error: illegal device ID xxxxxxxx

Hi Mark,

Thanks for the quick response.  My blackberry-app.xml is set up properly.  I have noticed this file does not get coped to the bin-debug folder when I build.  When I create release builds, I end up packaging from the command line so the blackberry-app.xml is packaged properly.  I just figured I would ask so I can run/debug from the IDE rather than package and deploy from the command line.

Developer
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: debugtokenrequest error: illegal device ID xxxxxxxx

@streak81: is it in the same location as the -app.xml file? i find that sometimes people mistakenly place it in the root folder instead of the src directory.
J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman