We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
GuidesAudio KitError Codes

Error Codes

Expand

Error Code

Value

Description

Solution

ERROR_FILE_NOT_FOUND

2010001

No file is found.

Check the local path or URL of the file.

ERROR_SYSTEM_NOT_SUPPORT

2010002

Not supported by the system.

  • Check whether the format of the file to be played is any of the supported ones: M4A, AAC, AMR, IMY, WAV, OGG, RTTTL, MP3, APE, and FLAC.
  • Check whether the audio file is damaged.

ERROR_NETWORK_NOT_CONNECT

2010003

Unavailable network.

Check whether the device is connected to the network.

ERROR_UNKNOWN

2010004

Other unknown errors.

Check your integration code and network connection.

ERROR_NOT_SUPPORT_SDK_VERSION

2010005

HUAWEI Audio Kit is not supported by the operating system of the device.

Upgrade the operating system or use a Huawei device that meets the requirements and try again.

ERROR_NOT_SUPPORT_HMS_VERSION

2010006

HUAWEI Audio Kit is not supported by the HMS Core (APK) version.

Upgrade HMS Core (APK) to the latest version.

ERROR_ILLEGAL_PARAM

2010007

Invalid parameters.

Check input parameters, including their types, value ranges, and other information.

ERROR_MODULE_NEED_UPDATE

2010008

The version of HMS Core (APK) is earlier than required.

Upgrade HMS Core (APK) and try again later.

ERROR_MODULE_NOT_READY

2010009

HMS Core (APK) is loading.

Try again later.

ERROR_MODULE_NOT_PRESET_HSF

2010010

HMS Core (APK) is not supported by the operating system of the device.

Upgrade the operating system or use a Huawei device that meets the requirements and try again.

ERROR_MODULE_UPGRADE_REPEATLY_INTERRUPT

2010011

The user repeatedly attempts to upgrade HMS Core (APK) for up to 360 times, causing upgrade interruption.

Reconfigure the return code to prompt the user to check whether HMS Core (APK) is of the latest version.

ERROR_MODULE_UPGRADE_LATER_OR_NONETWORK

2010012

  • The user chooses to upgrade HMS Core (APK) later.
  • The user cancels the upgrade after being notified that the network connection is unavailable.

Reconfigure the return code to:

  • Prompt the user to upgrade again.
  • Prompt the user to check the network connection.

ERROR_MODULE_UPGRADE_CLICK_BACK

2010013

The user taps the back button when HMS Core (APK) is being upgraded.

Reconfigure the return code to prompt the user to upgrade again.

ERROR_MODULE_UPGRADE_CLICK_CANCEL

2010014

The user cancels the download of HMS Core (APK) during an upgrade.

Reconfigure the return code to prompt the user to upgrade again.

ERROR_MODULE_UPGRADE_SPACE_NOT_ENOUGH

2010015

The storage space is insufficient for upgrading HMS Core (APK).

Reconfigure the return code to prompt the user to clear the storage space and try again.

ERROR_MODULE_UPGRADE_NETWORK_ERROR

2010016

HMS Core (APK) failed to be upgraded due to a network exception.

Reconfigure the return code to prompt the user to check the network connection.

ERROR_MODULE_UPGRADE_UNKNOWN

2010017

HMS Core (APK) failed to be upgraded due to unknown errors.

Reconfigure the return code to prompt the user to try again.

ERROR_MODULE_UPGRADE_HMS_DONE

2010018

HMS Core (APK) is successfully downloaded.

Reconfigure the return code to prompt the user to install HMS Core (APK).

ERROR_MODULE_UPGRADE_CLICK_NETWORK_SETTING

2010019

The user checks network settings after being notified that network connection is unavailable during an upgrade.

Reconfigure the return code to prompt the user to check the network connection.

ERROR_MODULE_NOT_EXIST

2010021

A component of HMS Core (APK) does not exist.

Reconfigure the return code to prompt the user to check the network connection and update HMS Core (APK) again.

ERROR_MODULE_INTER_ERROR

2010022

An internal error occurred in HMS Core (APK).

Reconfigure the return code to prompt the user to restart HMS Core (APK).

EFFECT_INIT_OK

0

Call the setEffect method to set the return value upon successful sound effect settings.

The sound effect is successfully set.

EFFECT_NOT_INIT

-4

The sound effect processing cannot be called.

HwAudioEffectManager is not initialized or fails to be initialized. Please check your access code.

EFFECT_RESID_NULL

-11

The value of resource ID is null.

Check the resource ID of the sound effect and pass the correct one.

EFFECT_GET_DATA_NULL

-12

The sound effect record does not exist in the database.

HwAudioEffectManager is not initialized or fails to be initialized. Please check your access code.

If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.

Search in Guides
Enter a keyword.