Oh wait, realised it was an OS update as well. Let me update that and see if that works!
On 3 December 2012 17:08, Tim Kim <timki...@gmail.com> wrote: > Hey Gord, > > I'm getting some weird errors trying to launch an app on bb10 with the new > sdk. The first time I make an app, it installs onto device but fails to > launch. Then, when I try to install again, I get an error in the build. The > icons for the app shows up on my screen (both on the first and second > installs), but clicking em doesn't launch the app. > > *First time through:* > Tims-MacBook-Air:sample timkim$ ./cordova/run qnx > Do you have a BlackBerry device connected to your computer? (y/n) > y > Buildfile: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build.xml > > qnx: > > debug-device: > > generate-cod-name: > [echo] Generated name: BLAAAARRRGGH.bar > > clean: > > package-app: > [mkdir] Created dir: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/widget > [copy] Copying 22 files to > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/widget > [zip] Building zip: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/BLAAAARRRGGH.zip > > debug-device: > [echo] > [echo] If you fill in the qnx.device.pin value > you can use debug tokens! > [echo] This means you won't have to worry about > having a unique version in config.xml every time. > [echo] > [exec] [INFO] Populating application source > [exec] [INFO] Parsing config.xml > [exec] [WARN] Failed to find feature with id: org.apache.cordova > [exec] [WARN] Failed to find feature with id: blackberry.find > [exec] [WARN] Failed to find feature with id: > blackberry.identity.phone > [exec] [WARN] Failed to find feature with id: > blackberry.pim.Address > [exec] [WARN] Failed to find feature with id: > blackberry.pim.Contact > [exec] [WARN] Failed to find feature with id: blackberry.io.file > [exec] [WARN] Failed to find feature with id: blackberry.utils > [exec] [WARN] Failed to find feature with id: blackberry.io.dir > [exec] [WARN] Failed to find feature with id: blackberry.app.event > [exec] [WARN] Failed to find feature with id: > blackberry.system.event > [exec] [WARN] Failed to find feature with id: > blackberry.widgetcache > [exec] [WARN] Failed to find feature with id: > blackberry.media.camera > [exec] [WARN] Failed to find feature with id: > blackberry.media.microphone > [exec] [INFO] Generating output files > [exec] [INFO] Info: Package created: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/simulator/BLAAAARRRGGH.bar > [exec] [INFO] Info: Package created: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/device/BLAAAARRRGGH.bar > [exec] [INFO] Info: Bar signed. > [exec] [INFO] BAR packaging complete > [exec] Info: Sending request: Install and Launch > [exec] Info: Action: Install and Launch > [exec] Info: File size: 600415 > [exec] Info: Installing BLAAAARRRGGH.gYABgAZ7F9xSC66egvFdt_vTo5g... > [exec] Info: Processing 600415 bytes > [exec] Info: Progress 100%... > [exec] Info: Progress 100%... > [exec] actual_dname::BLAAAARRRGGH.gYABgAZ7F9xSC66egvFdt_vTo5g > [exec] actual_id::gYABgAZ7F9xSC66egvFdt_vTo5g > [exec] actual_version::1.1.0.0 > [exec] result::success > [exec] Info: Launching BLAAAARRRGGH.gYABgAZ7F9xSC66egvFdt_vTo5g... > [exec] Info: done > > BUILD SUCCESSFUL > Total time: 31 seconds > > > *Second time through:* > Tims-MacBook-Air:sample timkim$ ./cordova/run qnx > Do you have a BlackBerry device connected to your computer? (y/n) > y > Buildfile: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build.xml > > qnx: > > debug-device: > > generate-cod-name: > [echo] Generated name: BLAAAARRRGGH.bar > > clean: > [delete] Deleting directory > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build > > package-app: > [mkdir] Created dir: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/widget > [copy] Copying 22 files to > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/widget > [zip] Building zip: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/BLAAAARRRGGH.zip > > debug-device: > [echo] > [echo] If you fill in the qnx.device.pin value > you can use debug tokens! > [echo] This means you won't have to worry about > having a unique version in config.xml every time. > [echo] > [exec] [INFO] Populating application source > [exec] [INFO] Parsing config.xml > [exec] [WARN] Failed to find feature with id: org.apache.cordova > [exec] [WARN] Failed to find feature with id: blackberry.find > [exec] [WARN] Failed to find feature with id: > blackberry.identity.phone > [exec] [WARN] Failed to find feature with id: > blackberry.pim.Address > [exec] [WARN] Failed to find feature with id: > blackberry.pim.Contact > [exec] [WARN] Failed to find feature with id: blackberry.io.file > [exec] [WARN] Failed to find feature with id: blackberry.utils > [exec] [WARN] Failed to find feature with id: blackberry.io.dir > [exec] [WARN] Failed to find feature with id: blackberry.app.event > [exec] [WARN] Failed to find feature with id: > blackberry.system.event > [exec] [WARN] Failed to find feature with id: > blackberry.widgetcache > [exec] [WARN] Failed to find feature with id: > blackberry.media.camera > [exec] [WARN] Failed to find feature with id: > blackberry.media.microphone > [exec] [INFO] Generating output files > [exec] [INFO] Info: Package created: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/simulator/BLAAAARRRGGH.bar > [exec] [INFO] Info: Package created: > /Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build/device/BLAAAARRRGGH.bar > [exec] [INFO] Info: Bar signed. > [exec] [INFO] BAR packaging complete > [exec] Info: Sending request: Install and Launch > [exec] Info: Action: Install and Launch > [exec] Info: File size: 600388 > [exec] Info: Installing BLAAAARRRGGH.gYABgAZ7F9xSC66egvFdt_vTo5g... > [exec] Info: Processing 600388 bytes > [exec] Info: Progress 41%... > [exec] Info: Progress 100%... > [exec] Info: Progress 100%... > [exec] actual_dname::BLAAAARRRGGH.gYABgAZ7F9xSC66egvFdt_vTo5g > [exec] actual_id::gYABgAZ7F9xSC66egvFdt_vTo5g > [exec] actual_version::1.1.0.1 > [exec] result::success > [exec] Info: Launching BLAAAARRRGGH.gYABgAZ7F9xSC66egvFdt_vTo5g... > * [exec] Error: Failed to create application process: No such file or > directory* > > BUILD FAILED > */Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/build.xml:67: > The following error occurred while executing this line:* > */Users/timkim/repo/incubator-cordova-blackberry-webworks/dist/sample/qnx.xml:87: > exec returned: 2* > * > * > It feels like the packager isn't packaging correctly so while the app > installs, whatever process it goes through to launch fails at some point. > Any thoughts? > > > -- > Timothy Kim > > > -- Timothy Kim