我正在尝试在我的黑莓10设备上运行 Cordova 黑莓应用程序。但是我遇到了以下错误:
$ platforms/blackberry10/cordova $ ./build
[INFO] Populating application source
[INFO] Parsing config.xml
[INFO] Generating output files
[INFO] Package created: /Users/pavunkumar/BlackBerry/bb10/platforms/blackberry10/build/simulator/bb10app.bar
[INFO] Package created: /Users/pavunkumar/BlackBerry/bb10/platforms/blackberry10/build/device/bb10app.bar
[INFO] BAR packaging complete
$ ./target add pavunkumar 169.254.0.1 -t device --password 0613 --pin 335921E0
$ ./run blackberry10 --target=pavunkumar --devicepass 0613
[INFO] Target pavunkumar selected
[INFO] The existing debug token is valid
[INFO] Deploying debug token to target "pavunkumar"
[INFO] Error: Cannot connect: Connect to /169.254.0.1:443 timed
out. Please check IP address settings for the target. You may have to
reboot the target. An error has occurred
我已经在手机上启用了开发模式。
但是我能够ping通所提到的IP地址,并且能够通过169.254.0.1 443进行telnet。
可能的原因是什么?
注意:
我能够使用Momentics IDE 在我的z10上安装样例本机应用程序。