The Huawei Lite Wearable Simulator supports only HarmonyOS鸿蒙Next liteWearable projects.

The Huawei Lite Wearable Simulator supports only HarmonyOS鸿蒙Next liteWearable projects. 根据API中的快速开始—>运行Hello World,完全按步骤操作,最终无法发布到手表上显示。

API链接:https://developer.harmonyos.com/cn/docs/documentation/doc-guides/hello_world-0000001054516888


更多关于The Huawei Lite Wearable Simulator supports only HarmonyOS鸿蒙Next liteWearable projects.的实战教程也可以访问 https://www.itying.com/category-93-b0.html

8 回复

开发者你好,
项目运行选择的设备类型必须与项目支持的设备类型保持一致,否则无法运行。项目支持的设备类型可以查看项目的config.json文件中配置的deviceType属性值。

无真机的情况下可以选择模拟器运行,模拟器运行方法可参看https://developer.harmonyos.com/cn/docs/documentation/doc-guides/run_simulator-0000001053303709

更多关于The Huawei Lite Wearable Simulator supports only HarmonyOS鸿蒙Next liteWearable projects.的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


因为你根据文档创建的应用类型为 Wearable类型,该类型只支持远程真机调试(tool -> HVD ->Wearable),不支持simulator本地模拟器调试。

目前创建的时候选择的应用类型有三种
TV 、 Wearable 、 lite Wearable

其中,

TV、Wearable 应用类型:

本类型应用开发中 没有 实时预览preview 模拟器simulator 只有 远程真机调试Remote devices 。远程调试时,选择的真机系统也必须与应用类型相同TV只能选TV ,Wearable只能选Wearable。

Lite Wearable 应用类型:

本类型应用开发中有实时预览preview 模拟器simulator 没有远程真机调试Remote devices

!!应用的调试必须与创建时选择的应用类型一致,否则就会报错。!!

问题是我成功过一次,在手表上显示出了Hello World,之后自己添加了代码,再启动就不显示了,然后就提示以上的信息,,所以很郁闷,创建的工程及操作跟API完全一致,第一次成功之后就一直报错。

搞了一天,遇到同样的问题。conneted devices未空表。选择lite wearable 又运行不了

远程运行高配版wareable 模拟运行低配版 lite wareable

您好,相关问题这边帮您核实一下。

华为轻量级可穿戴模拟器仅支持HarmonyOS Next轻量级可穿戴项目。该模拟器专为开发基于鸿蒙Next系统的轻量级可穿戴设备应用而设计,确保开发者在模拟环境中测试和调试其应用程序。开发者需确保其项目符合HarmonyOS Next轻量级可穿戴设备的开发规范,以便充分利用该模拟器的功能。

The Huawei Lite Wearable Simulator is specifically designed to support projects developed for HarmonyOS Next LiteWearable. This means it is optimized for applications targeting lightweight wearable devices running the HarmonyOS Next platform. Developers can use this simulator to test and debug their applications in an environment that closely mimics the actual hardware, ensuring compatibility and performance before deployment. It is essential to ensure that your project is configured for HarmonyOS Next LiteWearable to utilize this simulator effectively.

回到顶部