Help Center> Huawei HiLens> FAQs> Installing and Starting Skills> Why Does a Skill Stop After Being Started?
Updated on 2022-08-18 GMT+08:00

Why Does a Skill Stop After Being Started?

View the failure cause on the console and rectify the fault accordingly.

Viewing the Failure Cause

In the skill list, you can view the failure cause of a skill.

Perform the following steps to view the failure cause:

  1. Log in to the Huawei HiLens Console, and choose Device Management > Devices from the navigation pane.
  2. Select your device and click Manage Skill.
  3. On the Manage Skill tab page, view the skill list.

    In the Status column, view the fault cause under Faulty.

    You can also view device logs to further locate the fault.

Common Causes and Solutions

  • If a skill fails to start or stop, and the displayed cause is that the device is offline but the console displays the online status, check whether the network and power cables are connected properly.
  • If the error information shown in Figure 1 is displayed, check whether the skill verification value is the same as that in the skill code. Ensure that they are the same. The skill verification value refers to the value you configured for Skill Code Value in the Basic Information area when creating a skill on the Huawei HiLens console. It is used for skill verification to prevent fake skills. Its value must be the same as that of the parameter of the initialization API hilens.init in skill code.
    Figure 1 Error message
    Figure 2 Skill verification code
    Figure 3 Skill code
  • Check whether the HiLens Framework firmware has been upgraded to version 1.0.7 or later..
  • If error message No such file or directory is displayed, check the model path on the HiLens Kit device.

Installing and Starting Skills FAQs

more