目录

What should I do if "error: unlock screen failed in developer mode" is displayed during HAP installation?

Symptom

The error message "error: failed to start ability. error: unlock screen failed in developer mode" is displayed during HAP installation.

Solution

This issue occurs when the device is locked and has a lock screen password set. To resolve this, use either of the following methods: