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
Contributor
Posts: 27
Registered: ‎02-20-2011
My Device: Torch 9800
My Carrier: Bell Canada

Unknown argument playbook

I am new to the Blackberry Tablet OS app development so I followed the instructions on the Blackberry site on what to download and how to install. After doing that, I followed the guide at http://docs.blackberry.com/en/developers/deliverables/25067/BlackBerry_Tablet_OS_SDK_for_Adobe_AIR-G...

 word to word and when I run the application in Debug I get the "Unknown argument playbook" error, even though I can see the icon on the Playbook simulator. The app just doesn't run. I am totoally frustrated. Any help will be highly appreciated.

 

 

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

Re: Unknown argument playbook

What is the exact line you were using? Also most likely you forgot the -password argument before the word playbook
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
Contributor
Posts: 27
Registered: ‎02-20-2011
My Device: Torch 9800
My Carrier: Bell Canada

Re: Unknown argument playbook

[ Edited ]

I was using Flash Builder to deploy the app. Anyway, I think I figured it out. The Blackberry Tablet OS SDK installs Adobe AIR 2.6 and the Simulator doesn't support that. I had to search high and low on the internet to get Adobe AIR 2.5 SDK and once I replaced the Adobe AIR.dll with the 2.5 version, it worked. Although I still cannot debug. Now I get the same error as mentioned when debugging. Any idea why? So I need some Debug key or something?

Contributor
Posts: 27
Registered: ‎02-20-2011
My Device: Torch 9800
My Carrier: Bell Canada

Re: Unknown argument playbook

Phew! Figured it out. Blackberry support just sucks.

Contributor
Posts: 26
Registered: ‎11-16-2010
My Device: Not Specified

Re: Unknown argument playbook

What was the solution? I'm running into a similar error.

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

Re: Unknown argument playbook

Where are you getting the error? This thread is pretty old. PlayBook runs AIR 3.1, not 2.6.
Contributor
Posts: 26
Registered: ‎11-16-2010
My Device: Not Specified

Re: Unknown argument playbook

I'm getting it when I try to debug an AIR app on the Playbook Simulator. It deploys the package onto the simulator but I get the "Deployment Failed: 1 Error: Unknown argument:" followed by my password for my device. I've tried inputting my password in the Flash Builder debug configuration and by leaving it blank in the configuration and supplying it when prompted by Flash Builder.

 

I've tried removing my password from the device, but I still get prompted for a password when i try to debug. I was hoping that whatever @wizzard had done to get the debug working might work for me.

Contributor
Posts: 27
Registered: ‎02-20-2011
My Device: Torch 9800
My Carrier: Bell Canada

Re: Unknown argument playbook

Guys, it's far too long back. I can't remember how I solved it. Did you try using a Flash Player debug version? Now I use Flash Builder 4.6 and don't have such issues. Sorry I can't help.

Contributor
Posts: 26
Registered: ‎11-16-2010
My Device: Not Specified

Re: Unknown argument playbook

Ahhh, that is too bad. I'm on Flash Builder 4.5. I've been slamming my head against this all weekend.

Contributor
Posts: 27
Registered: ‎02-20-2011
My Device: Torch 9800
My Carrier: Bell Canada

Re: Unknown argument playbook

Have you tried these settings;

 

- Right click on the project

- Select Properties

- In the Properties window, expand Flex Build Packaging and click on Blackberry

- In the right side pane, click Advanced

- In the Extra packaging options add '-forceAirVersion 2.5' without the quotes

- Click Apply

- In the Left pane, click Flex Compiler

- Under Additional compiler arguments (in the right pane), add a new line with '-swf-version=10', without the quotes.

- Click Apply.