This section describes only module-specific error codes. For details about universal error codes, please refer to Universal Error Codes.
Message
Parameter error. The value of bundleName is incorrect.
Parameter error. The value of layeredDrawableDescriptor is incorrect.
Parameter error. The value of size is incorrect.
Parameter error. The value of hasBorder is incorrect.
Parameter error. The value of pixelMap is incorrect.
Parameter error. The value of mask is incorrect.
Parameter error. The value of icons is incorrect.
Parameter error. The value of parallelNumber is incorrect.
Parameter error. The number of parameters is incorrect.
Parameter error. The type of ttf resource is error, the type must be resource.
Parameter error. The type of json resource is error, the type must be resource.
Parameter error. The ttf resource is null.
Parameter error. The json resource is null.
Parameter error. Load ttf resource failed.
Parameter error. Load json resource failed.
Parameter error. The ttf resource size is zero.
Parameter error. The json resource size is zero.
Parameter error. The json resource schema is incorrect.
Description
This error code is reported when a parameter error occurs. Regardless of whether the API is synchronous or asynchronous, this type of error is generally thrown in synchronous mode.
Possible causes
A mandatory parameter is missing, or the parameter type is invalid.
Solution
Make sure all the mandatory parameters are passed and the parameter types are valid.
Make sure that the passed resource is not empty.
Make sure that the input JSON format is correct.
Message
Device Type error.
Description
Incorrect device type.
Possible causes
Incorrect device type.
Solution
Use a device of a supported type.
Message
Task is busy.
Description
Previous concurrent tasks are still running.
Possible causes
The previous task is still running.
Solution
Check whether hdsDrawable.getHdsLayeredIcons and hdsDrawable.getHdsIcons are called after the expected result is returned, or directly call the non-batch processing API.
Submit a ticket online. Huawei will get back to you as soon as possible.
Message
Resource size error. The ttf resource out of size.
Resource size error. The json resource out of size.
Description
The resource quantity exceeds the upper limit.
Possible causes
The quantity of passed resources has reached the upper limit. You can customize up to 10 icons.
Solution
Reduce symbol icons and matching animation parameter resources.
Message
Resource error. Parse the ttf resource failed.
Resource error. Parse the json resource failed.
Description
Resource parsing failed.
Possible causes
The resource content is invalid.
Solution
Make sure that the icon resource is valid.
Make sure that the animation parameter resource is valid.