Phonegap blackberry 10模拟器 - “无法发布发射器对象。这里出了点问题” - 已关闭
问题描述:
我正在开发一个phonegap项目并试图将其部署到Blackberry 10模拟器上。我的模拟器运行在VMware播放器上。Phonegap blackberry 10模拟器 - “无法发布发射器对象。这里出了点问题” - 已关闭
由于每PhoneGap的-Getting入门指南,我试图从命令行中我的BB10模拟器部署项目,并收到以下错误 -
package-app:
[mkdir] Created dir: D:\example\build\widget
[copy] Copying 25 files to D:\example\build\widget
[copy] Copying 3 files to C:\Program Files\Research In Motion\BlackBerry 10
WebWorks SDK 1.0.4.11\Framework\ext
[zip] Building zip: D:\example\build\cordovaExample.zip
build:
[exec]
[exec] D:\example>"C:\Program Files\Research In Motion\BlackBerry 10 WebWor
ks SDK 1.0.4.11\third_party\node\windows\node.exe" "C:\Program Files\Research In
Motion\BlackBerry 10 WebWorks SDK 1.0.4.11\lib\bbwp.js" D:\example\build\cordov
aExample.zip -o D:\example\build --loglevel error
[exec] [BUILD] Populating application source
[exec] [BUILD] Parsing config.xml
[exec] [BUILD] Generating output files
[exec] [BUILD] BAR packaging complete
load-simulator:
[echo] This tool will not open the simulator for you
[exec] Info: Sending request: Install and Launch
[exec] Info: Action: Install and Launch
[exec] Info: File size: 695220
[exec] Info: Installing org.apache.cordova.example.testRel_ova_examplefce1a
a22...
[exec] Info: Processing 695220 bytes
[exec] Info: Progress 64%...
[exec] Info: Progress 100%...
[exec] actual_dname::org.apache.cordova.example.testRel_ova_examplefce1aa22
[exec] actual_id::testRel_ova_examplefce1aa22
[exec] actual_version::1.0.0.0
[exec] result::success
[exec] Info: Launching org.apache.cordova.example.testRel_ova_examplefce1aa
22...
[exec] Error: Cannot post launcher object, something is wrong
BUILD FAILED
D:\example\build.xml:55: The following error occurred while executing this line:
D:\example\qnx.xml:105: exec returned: 2
Total time: 10 seconds
现在,一切都很好,直到它说result:success
和问题出现在那里。它说“不能发布启动器对象,这里出了点问题”。
我是BB环境的新手,很困惑这里的“Something”出错了。 任何人都可以看看这个并抛出一些问题是什么?为什么会出现这种情况?
答
问题在于模拟器启动。安装VMware Player后,一旦使用BB模拟器,请等待环境加载。检查屏幕上出现的Blackberry徽标的标志,并在徽标周围出现一个进度条。
除非模拟器在VMware Player中完全加载,否则无法在其中部署应用程序。