12-17-2012 01:09 PM
Hello!
Hope, someone can help me with that... ![]()
So, I'm using flash cs5.5 with air sdk 3.5, I can build app, deploy it to my playbook, but when I lauch it, it closes right away.
I have also tried with air sdk 2.6 - same result.
what I have:
blackberry table sdk 2.1 -latest
playbook os 2.1.0.1088 - latest
air sdk 3.5 and 2.6
Simplest "hello world" application just doesn't launch...
Thank you!
Solved! Go to Solution.
12-17-2012 01:42 PM
12-17-2012 02:03 PM - edited 12-17-2012 02:33 PM
OK, then how can I debug with flash cs on my device?
Thank you!
UPD: found some docs on command line debug, give it a try.
12-17-2012 04:40 PM - edited 12-17-2012 05:11 PM
Well, no luck with debugger.
I start fdb, then make "run" command.
Then I do the following command:
blackberry-airpackager -target bar-debug -connect [YOUR COMPUTER'S IP ADDRESS] -package HelloWorld.bar -installApp -launchApp HelloWorld-app.xml HelloWorld.swf [ICON FILE NAME] -device [PLAYBOOK IP ADDRESS] -password [SIMULATOR PASSWORD] -devMode
Get the following results:
Info: Package created: testbb.bar
Info: Sending request: Install
Info: Action: Install
Info: Debug air: on
Info: Development mode: on
Info: File size: 11462
Info: Installing ...
Info: Processing 11462 bytes
Info: Progress 100%...
actual_dname::testbb.testDev_testbb_____cbb77452
actual_id::testDev_testbb_____cbb77452
actual_version::1.0.0.1
result::success
Info: Updated debug host to 192.168.1.2
Info: Sending request: Launch
Info: Action: Launch
Info: Debug air: on
Info: Development mode: on
Info: Updated debug host to 192.168.1.2
Info: Launching testbb.testDev_testbb_____cbb77452...
result::11231387
Info: done
Applicarion launch, closes and nothing happens.
What do I do wrong?
12-17-2012 07:04 PM
12-17-2012 11:44 PM
You might also review this very old post by Renaun Erickson of Adobe. It was written in late 2010 to a very early AIR SDK release but you may find some things to check. I'm not a Flash Pro user so I don't grok the blog post, but I do recall that prior to PlayBook launch, RIM/Adobe webinars did address getting Flash Pro-authored apps onto PlayBook.
12-18-2012 02:06 PM - edited 12-18-2012 02:20 PM
Looks like nothing works for me.
I hae tried on simulator as well, it crashes.
I have tried to reinstall flash and blackberry sdk, that didn't help.
But I have made some test apps before and everything was fine.
Can anybody provide me with working test AIR .bar file, so I can try it?
Thank you.
12-18-2012 03:18 PM
Hi
this is most likely caused by the fact you are using AIR 3.5 to compile your application, as suggested before by jtegen.
I'm not used to Flash CS configuration, but you have to follow and adapt to Flash the instructions from here.
It basically tells that the code has to be compatible with Flash 11, using the compiler option -swf-version 14, and also passing to the blackberry-airpackager command line the option "-forceAirVersion 3.1".
I hope that helps.
12-18-2012 03:24 PM
12-18-2012 03:28 PM