构建blackberry10 cordova / phonegap项目时,构建中不包含许多文件。不包括许多启动画面图像和文件“DEFAULT_BAR_NAME.bar”。
但是,如果在另一台设备(台式PC)上重复相同的过程,则会包含所有文件。据我所知,两者都有相同的软件设置。
C:\Users\USER\hello>cordova emulate blackberry10
[Error: An error occurred while emulating/deploying the blackberry10 project.
[BUILD] Populating application source
[BUILD] Parsing config.xml
[BUILD] Generating output files
[WARN] Failed to find debug token. If you have an existing debug token, please copy it to %HOME%/.cordova/blackberry10debugtoken.bar. To generate a new debug token, execute the 'run' command.
[ERROR] Error: Attribute image: file cannot be found in the list of packaged files: res/screen/blackberry/splash-1280x768.png
[ERROR] Native Packager exception occurred
[WARN] Failed to find debug token. If you have an existing debug token, please copy it to %HOME%/.cordova/blackberry10debugtoken.bar. To generate a new debug token, execute the 'run' command.
[ERROR] Error: Attribute image: file cannot be found in the list of packaged files: res/screen/blackberry/splash-1280x768.png
[ERROR] Native Packager exception occurred
[ERROR] Error: File does not exist or not a file or cannot read: C:\Users\USER\hello\PLATFO~1\BLACKB~1\build\simulator\DEFAULT_BAR_NAME.bar
如果有更多信息有用,请询问,谢谢!
答案 0 :(得分:1)
我看到这个消息有点晚了。 但我有解决这个问题的方法。
我能够在phonegap 3.3
中编译我的黑莓10应用程序如果您遇到有关p12文件的任何错误,则需要遵循黑莓签名指南。或者如果您有任何疑问,请邮寄给我 hansolo.amey@gmail.com