我很难将Pebble应用安装到aplite模拟器上。我正在使用Mac SDK,而不是CloudPebble,当我输入:
pebble install --emulator aplite --debug
我得到以下输出:
[DEBUG ] Initializing reader thread
[DEBUG ] Reader thread loaded on tid Thread-1
[DEBUG ] Phone ==> Watch: 000d000b035590fef60078055554432b32
[DEBUG ] Phone ==> Watch: 0001001000
[DEBUG ] Watch ==> Phone: 00960010015553bdef76322e392d71656d75352d362d67663761343430350000000000000000000000663761343430350000fe0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005553bdef00000000000000000000000000000000000000000000000000000026658a035553bdef656e5f55530000015858585858585800
[DEBUG ] Phone ==> Watch: 00111770025ce319237d734d77af654e024035e51e
[DEBUG ] Watch ==> Phone: 00960010015553bdef76322e392d71656d75352d362d67663761343430350000000000000000000000663761343430350000fe0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005553bdef00000000000000000000000000000000000000000000000000000026658a035553bdef656e5f55530000015858585858585800
[DEBUG ] Status: '\x00\x00\x00\x01'
[DEBUG ] WS Operation failed with response 16777216
[ERROR ] Failed to install 'build/xxx-xxx.pbw'
[DEBUG ] Phone info: 'pypkjs,0.0.0,qemu'
[INFO ] Starting new HTTP connection (1): 209.118.208.39
[DEBUG ] Analytics collection disabled due to lack of internet connectivity
知道出了什么问题吗?
我对basalt
模拟器没有这样的问题。
更新运行pebble wipe
和pebble login
后,我的消息略有不同:
[DEBUG ] Phone ==> Watch: 00020031ff02
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): timeline-sync.getpebble.com
Traceback (most recent call last):
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/libexec/lib/python2.7/site-packages/gevent-1.0-py2.7-macosx-10.10-intel.egg/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/runner/websocket.py", line 173, in go_do_install
self.pebble.pebble.install_app_pebble_protocol(f.name)
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/pebblecomm/pebble.py", line 1186, in install_app_pebble_protocol
[DEBUG ] Status: '\x00\x00\x00\x01'
watch_fw_version = self.get_watch_fw_version()
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/pebblecomm/pebble.py", line 662, in get_watch_fw_version
self.get_watch_version_info()
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/pebblecomm/pebble.py", line 645, in get_watch_version_info
version_info = self.get_versions()
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/pebblecomm/pebble.py", line 920, in get_versions
return EndpointSync(self, "VERSION").get_data()
File "/usr/local/Cellar/pebble-sdk/3.0-beta12/Pebble/common/phonesim/pebblecomm/pebble.py", line 504, in get_data
raise PebbleError(None, "Timed out... Is the Pebble phone app connected/direct BT connection up?")
PebbleError: Timed out... Is the Pebble phone app connected/direct BT connection up? (ID:None) <Greenlet at 0x109490e10: go_do_install> failed with PebbleError
[DEBUG ] WS Operation failed with response 16777216
[ERROR ] Failed to install 'build/statium-pebble.pbw'
答案 0 :(得分:1)
这是在aplite上每隔一段时间发生的一般错误。这将在命令行SDK的3.1中修复。
您可以运行pebble wipe
和pebble login
来解决问题,直到3.1中的官方修复。