03-21-2011 12:42 PM
You are probably better off just making sure to run the blackberry-airpackager from within the BIN directory of the SDK.
Assuming your sdk is installed at: C:\SDK
then you would first type these commands:
C: (just in case you aren't already on C
blackberry-airpackager blah blah blah
if your SDK is installed in a path with a space in the name, put quotes around the name. ie cd\"Playbook 0.9.4 sdk"\bin
03-21-2011 02:48 PM
I navigated to the sdks/ folder under the Flash Builder folder and ran the command line and I was able to run the command line but I get the Error:
Error: Access is denied
Here is the command line I entered:
blackberry-airpackager -package AIRHelloWorld.bar -installApp -launchApp <path/test-app.xml> <path/test.swf> -device <MyIPAddress> -password <MyPasswordHere>
03-21-2011 02:55 PM
try running your command prompt as Admin. even if you are an administrator, Right click on the command prompt applicatino and select "Run as Administrator". that should clear that error up. good luck!
03-21-2011 03:40 PM
I got some more progress when running the command line with admin access. But I was still not able to get it to run entirely.
After I ran the command like, the program attempted to run in the siimulator. :-)
I saw the program's tile and it attempted to run, but it never loaded. The program remained white.
After I ran the command line, i noticed the following in the command prompt:
Invalid manifest file C:\Users\<USER>\AppData\Local\Temp\bar114504198518
What I think may be happening is that some required files are not being added to my command line.
But I also have some other good news. I attempted to "run" the program through Flash Builder instead of "debugging" the program and it successfully loaded and ran the app. :-))))
I'm still unsyre exactly why I cannot debug the app, nor can I use a command line. However, at least now I can test the app.
Any ideas where i may be going wrong with either the debugging or the command line routes?