cordova - phonegap cli blackberry 10 -
i'm having trouble building blackberry 10 version of app using phonegap's cli (phonegap 3.4.1).
logically command should be:
phonegap build blackberry10
but returns following errors :
/usr/local/lib/node_modules/phonegap/lib/phonegap/build.js:73 self.phonegap.emit('log', 'detecting', platform.human, 'sdk environment... ^ typeerror: cannot read property 'human' of undefined @ buildcommand.execute (/usr/local/lib/node_modules/phonegap/lib/phonegap/build.js:73:52) @ buildcommand.run (/usr/local/lib/node_modules/phonegap/lib/phonegap/build.js:55:10) @ phonegap.build (/usr/local/lib/node_modules/phonegap/lib/phonegap/util/command.js:28:25) @ cli.module.exports [as build] (/usr/local/lib/node_modules/phonegap/lib/cli/build.js:35:14) @ cli.module.exports [as argv] (/usr/local/lib/node_modules/phonegap/lib/cli/argv.js:66:17) @ object.<anonymous> (/usr/local/lib/node_modules/phonegap/bin/phonegap.js:26:21) @ module._compile (module.js:456:26) @ object.module._extensions..js (module.js:474:10) @ module.load (module.js:356:32) @ function.module._load (module.js:312:12)
everything works fine android , ios, have blackberry 10 sdk installed , directory in path variable. seems blackberry10 isn't recognized, perhaps command wrong? (i've tried blackberry-10, qnx ...)
the phonegap build service doesn't support blackberry10.
if have added platform already
cordova platform add blackberry10
your best bet use cordova syntax access engine directly
cordova build blackberry10
this give expected results (as long have signing keys configured :))
Comments
Post a Comment