[ https://issues.apache.org/jira/browse/CB-7230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079296#comment-14079296 ]
Oliver Salzburg edited comment on CB-7230 at 7/31/14 10:41 AM: --------------------------------------------------------------- Apparently, I neglected to restart bash after the installation and didn't have updated environment variables. Meaning that access to the WebWorks SDK wasn't available. was (Author: oliversalzburg): Apparently, I neglected to restart bash after the installation and didn't have updated environment variables. > Building BlackBerry10 app causes "Invalid manifest version" error > ----------------------------------------------------------------- > > Key: CB-7230 > URL: https://issues.apache.org/jira/browse/CB-7230 > Project: Apache Cordova > Issue Type: Bug > Components: BlackBerry > Affects Versions: 3.5.0 > Environment: Windows 7 x64 > Reporter: Oliver Salzburg > > When building a new application with the blackberry10 platform, two errors > will be printed to the console. Their meaning isn't quite clear to me. Here's > the full log output: > {code} > $ cordova build blackberry10 > Running command: d:\mobile2\platforms\blackberry10\cordova\build.bat > [WARN] Cannot sign applications. Author.p12 file cannot be found at > default location: C:\Users\OliverSalzburg.HARTWIG\Local Settings\Application > Data\Research In Motion\author.p12 > [INFO] Populating application source > [INFO] Parsing config.xml > [INFO] Generating output files > [WARN] Failed to find debug token. If you have an existing debug token, > please copy it to > C:\Users\OliverSalzburg.HARTWIG/.cordova/blackberry10debugtoken.bar. To > generate a new debug token, execute the 'run' command. > [INFO] Package created: > d:\mobile2\platforms\blackberry10\build\simulator\bb10app.bar > [INFO] Error: bar8575846795239705479.MF, Invalid manifest version. > [ERROR] Native Packager exception occurred > [WARN] Failed to find debug token. If you have an existing debug token, > please copy it to > C:\Users\OliverSalzburg.HARTWIG/.cordova/blackberry10debugtoken.bar. To > generate a new debug token, execute the 'run' command. > [INFO] Package created: > d:\mobile2\platforms\blackberry10\build\device\bb10app.bar > [INFO] Error: bar7785712229973998487.MF, Invalid manifest version. > [ERROR] Native Packager exception occurred > An error has occurred > Error: d:\mobile2\platforms\blackberry10\cordova\build.bat: Command failed > with exit code 2 > at ChildProcess.whenDone > (c:\Users\OliverSalzburg.HARTWIG\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23 > ) > at ChildProcess.emit (events.js:98:17) > at maybeClose (child_process.js:755:16) > at Process.ChildProcess._handle.onexit (child_process.js:822:5) > {code} > Commenting out lines [244-245 of > native-packager.js|https://github.com/apache/cordova-blackberry/blob/a6733a833201b76f870f4c36476b98a4875af956/bin/templates/project/cordova/lib/native-packager.js#L244-245] > resolves this issue. -- This message was sent by Atlassian JIRA (v6.2#6252)