node.js - When building blackberry10 cordova/phonegap project many files are missing -
when building blackberry10 cordova/phonegap project, number of files not included in build. number of splash screen images , file "default_bar_name.bar" not included.
however, if same process repeated on device (desktop pc) files included. far can tell, both have identical software setups.
c:\users\user\hello>cordova emulate blackberry10 [error: error occurred while emulating/deploying blackberry10 project. [build] populating application source [build] parsing config.xml [build] generating output files [warn] failed find debug token. if have existing debug token, please copy %home%/.cordova/blackberry10debugtoken.bar. generate new debug token, execute 'run' command. [error] error: attribute image: file cannot found in list of packaged files: res/screen/blackberry/splash-1280x768.png [error] native packager exception occurred [warn] failed find debug token. if have existing debug token, please copy %home%/.cordova/blackberry10debugtoken.bar. generate new debug token, execute 'run' command. [error] error: attribute image: file cannot found in list of packaged files: res/screen/blackberry/splash-1280x768.png [error] native packager exception occurred [error] error: file not exist or not file or cannot read: c:\users\user\hello\platfo~1\blackb~1\build\simulator\default_bar_name.bar
if more information please ask, thanks!
i saw message bit late. have solution problem.
- browse root of phonegap project (the 1 containing these folders merges,platforms,www & plugins)
- open www folder
- open config.xml
- now remove declarations splash , icon platforms not added using cordova platform add command. e.g if have created project blackberry remove icon , splash declarations ios, android, webos, bada, windows-phone
- now run cordova build. blackberry app should built without errors.
i able compile blackberry 10 app in phonegap 3.3
if face errors regarding p12 file need follow blackberry signing guidelines. or if got doubts mail me hansolo.amey@gmail.com
Comments
Post a Comment