简体   繁体   English

Pebble无法以任何方式安装应用程序-CloudPebble或命令行

[英]Pebble can't install app in any way - cloudpebble or command line

I've enjoyed developing simple apps for my pebble watch, but since yesterday I cannot install any new ones on my phone (I do have spare slots on pebble). 我很喜欢为Pebble手表开发简单的应用程序,但是从昨天开始,我无法在手机上安装任何新的应用程序(Pebble上确实有备用插槽)。

I've tried installing old (working) apps via cloudpebble portal, but I get following: 我曾尝试通过cloudpebble门户网站安装旧的(正在运行的)应用程序,但我得到以下信息:

  • Saving 保存
  • Compiling 编译中
  • Preparing to install app 准备安装应用
  • Installation rejected. 安装被拒绝。 Check your phone for details. 检查您的手机以获取详细信息。
    (Phone message: There was an error trying to install the provided app.) (电话消息:尝试安装提供的应用程序时出错。)

So I've tried installation through a command line: 因此,我尝试通过命令行进行安装:

$ pebble install --cloudpebble -vvvv

But this is the output: 但这是输出:

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 209.118.208.39 INFO:requests.packages.urllib3.connectionpool:开始新的HTTP连接(1):209.118.208.39
DEBUG:pebble_tool.util.analytics:Queueing analytics data: {'platform': 'native_sdk', 'data': {}, 'event': 'invoke_command_install', 'identity': {'sdk_client_id': '93381446-f47e-4be5-bd4a-781af1f42c3a', 'user': u'55b8844a6638300025560100'}, 'sdk': {'project': {'sdk': u'3', 'is_watchface': True, 'type': 'native', 'uuid': '2737c550-fd8a-4e70-82be-1b887e5d7a4d', 'app_name': u'MoveInGrid'}, 'host': {'platform': 'Darwin-15.2.0-x86_64-i386-64bit', 'python_version': '2.7.10', 'is_vm': False}, 'version': u'3.8.2', 'tool_version': '4.0.1'}} DEBUG:pebble_tool.util.analytics:排队分析数据:{'platform':'native_sdk','data':{},'event':'invoke_command_install','identity':{'sdk_client_id':'93381446-f47e- 4be5-bd4a-781af1f42c3a','user':u'55b8844a6638300025560100'},'sdk':{'project':{'sdk':u'3','is_watchface':True,'type':'native', 'uuid':'2737c550-fd8a-4e70-82be-1b887e5d7a4d','app_name':u'MoveInGrid'},'host':{'platform':'Darwin-15.2.0-x86_64-i386-64bit',' python_version':'2.7.10','is_vm':False},'version':u'3.8.2','tool_version':'4.0.1'}}
DEBUG:requests.packages.urllib3.connectionpool:"HEAD / HTTP/1.1" 301 0 INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): td.getpebble.com DEBUG:requests.packages.urllib3.connectionpool:“ HEAD / HTTP / 1.1” 301 0 INFO:requests.packages.urllib3.connectionpool:开始新的HTTPS连接(1):td.getpebble.com
DEBUG:requests.packages.urllib3.connectionpool:"POST /td.pebble.sdk_events HTTP/1.1" 200 0 调试:requests.packages.urllib3.connectionpool:“ POST /td.pebble.sdk_events HTTP / 1.1” 200 0
Waiting for phone to connect... 正在等待手机连接...
Connected. 连接的。
DEBUG:libpebble2.communication:-> WatchVersion(command=None, data=WatchVersionRequest()) 调试:libpebble2.communication:-> WatchVersion(command = None,data = WatchVersionRequest())
DEBUG:libpebble2.communication:-> 0001001000 调试:libpebble2。通讯:-> 0001001000
DEBUG:libpebble2.communication:<- 00960010015509b4fb76322e392e31000000000000000000000000000000000000000000000000000035343636346264000005015222545f76312e352e350000000000000000000000000000000000000000000000000000316331363237350001050152e2f83256335233000000000051313536303535453030513604750648b4b026658a035509b4fb656e5f55530000015858585858585800 DEBUG:libpebble2。通讯:<-00960010015509b4fb76322e392e3100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005015222545f76312e352e350000000000000000000000000000000000000000000000000000000000316331363237350005000152e2f832563352330000000000513135363035035530305450250b4b026f858509585
DEBUG:libpebble2.communication:<- WatchVersion(command=1, data=WatchVersionResponse(running=WatchFirmwareVersion(timestamp=1426699515, version_tag=v2.9.1, git_hash=54664bd, is_recovery=False, hardware_platform=5, metadata_version=1), recovery=WatchFirmwareVersion(timestamp=1377981535, version_tag=v1.5.5, git_hash=1c16275, is_recovery=True, hardware_platform=5, metadata_version=1), bootloader_timestamp=1390606386, board=V3R3, serial=Q156055E00Q6, bt_address=04750648b4b0, resource_crc=644188675, resource_timestamp=1426699515, language=en_US, language_version=1, capabilities=24866934413088856, is_unfaithful=None)) 调试:libpebble2.communication:<-WatchVersion(command = 1,data = WatchVersionResponse(running = WatchFirmwareVersion(timestamp = 1426699515,version_tag = v2.9.1,git_hash = 54664bd,is_recovery = False,hardware_platform = 5,metadata_version = 1),恢复= WatchFirmwareVersion(时间戳= 1377981535,version_tag = v1.5.5,git_hash = 1c16275,is_recovery = True,hardware_platform = 5,metadata_version = 1),bootloader_timestamp = 1390606386,board = V3R3,serial = Q156055E00Q6,bt_address = 18850648b4b0 resource_timestamp = 1426699515,language = en_US,language_version = 1,capability = 24866934413088856,is_unfaithful = None))
Installing app... 正在安装应用...
App install failed. 应用安装失败。
INFO:root:Spent 0.001597 seconds waiting for analytics. INFO:root:花费0.001597秒等待分析。

I've tried several things to resolve this issue: 我已经尝试了几种方法来解决此问题:

  • creating new project from provided template; 从提供的模板创建新项目;
  • disconnecting the watch; 断开手表的连接;
  • watch factory reset; 手表恢复出厂设置;
  • iOS pebble app reinstallation; 重新安装iOS pebble应用;
  • creating and linking to a new cloudpebble account, 创建并链接到新的cloudpebble帐户,

but still no luck installing any new apps or reinstalling old ones... 但仍然无法安装任何新应用或重新安装旧应用...

Any help would be greatly appreciated (or more tips on what else to try...). 任何帮助将不胜感激 (或更多其他尝试的技巧...)。

PS: Apps load just fine in an emulator. PS:应用程序可以在模拟器中正常加载。
PS2: I can download and install apps from the store just fine [I found PixelMiner that way : )]. PS2:可以很好地从商店下载并安装应用程序[我以这种方式找到了PixelMiner :)。
PS3: I do have a developer connection on and there is a valid IP shown on iOS app. PS3:我确实有开发人员连接,iOS应用程序上显示了有效的IP。

I got an answer from Morris on pebble forums. 我在鹅卵石论坛上从莫里斯那里得到了答案。 I was developing for SDK3, but still running older version of firmware on a pebble watch. 我正在为SDK3开发,但仍在pebble手表上运行旧版本的固件。 After an update, deployment works again! 更新后,部署将再次起作用!

Original response: 原始回复:

You are building with the latest SDK but your watch has not the latest firmware. 您使用的是最新的SDK,但您的手表没有最新的固件。

You either have to upgrade your Pebble Classic to firmware V3.8.2 (see Upgrade to SDK3 ) or if you want to build for the old firmware you have to use SDK2 instead (see SDK2 ) 您必须将Pebble Classic升级到固件V3.8.2(请参阅升级到SDK3 ),或者如果要为旧固件进行构建,则必须改用SDK2(请参见SDK2 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM