harmony 鸿蒙USB Error Codes

  • 2022-12-13
  • 浏览 (664)

USB Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

14400001 USB Device Connection Denied

Error Message

Permission denied. Need call requestRight to get permission.

Description

This error code is reported if a certain API of the USB module is called but the required permission is not granted.

Possible Causes

The permission to access the USB device is not granted.

Solution

Call requestRight to request for the permission to access the USB device.

14400002 HDC Disabled

Error Message

Permission denied.The HDC is disabled by the system.

Description

This error code is reported if HDC is disabled by the system.

Possible Causes

The USB debugging permission is not available.

Solution

Apply for the USB debugging permission.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Error Codes

harmony 鸿蒙Event Error Codes

harmony 鸿蒙DeviceUsageStatistics Error Codes

harmony 鸿蒙DistributedNotificationService Error Codes

harmony 鸿蒙Distributed Scheduler Error Codes

harmony 鸿蒙Ability Error Codes

harmony 鸿蒙Access Control Error Codes

harmony 鸿蒙Accessibility Error Codes

harmony 鸿蒙Account Management Error Codes

harmony 鸿蒙Animator Error Codes

0  赞