This section describes only error codes related to Graphics Accelerate Kit. For details about universal error codes, please refer to Universal Error Codes.
Error Message
The API call from an ExtensionAbility is not allowed.
Error Description
This API cannot be called in the asset acceleration ExtensionAbility.
Possible Causes
This API cannot be called in the asset acceleration ExtensionAbility.
Solution
Check whether this API is in the range of APIs allowed by the asset acceleration ExtensionAbility. Only the following APIs provided by assetDownloadManager can be called:
Error Message
The domain name of the download task is not in the domain name trustlist.
Error Description
The domain name of the download task is not in the trustlist.
Possible Causes
The domain name of the download task is not in the trustlist.
Solution
Third-party CDN: View the configured domain name trustlist in AppGallery Connect. For details, please refer to Creating a Download Task.
Huawei CDN: The domain name trustlist is automatically set based on asset download tasks.
Error Message
The task ID or group ID entered during operations such as pause, resume, and fetch does not exist.
Error Description
The task ID or group ID does not exist during download task pausing, resuming, or obtaining.
Possible Causes
No operable task ID or group ID is found.
Solution
The task ID or group ID does not exist. Ensure that the task ID or group ID is correct.
Error Message
The current task status does not support the current operator.
Error Description
The current task status does not support the current operation.
Possible Causes
The current task status does not match the current operation. For example, to resume a download task that is not paused, or to pause a download task which has already been paused.
Solution
Before performing an operation on a task, check the current status of the task and ensure that the task operation matches the task status. For example, call the fetchAllAssetDownloadTasks method to view the task status.
Error Message
The application task queue is full.
Error Description
The task queue is full.
Possible Causes
The number of asset download tasks in the queue exceeds 200.
Solution
Wait until the current download task is complete and submit tasks only when there is space available in the task queue.
Error Message
Extension life cycle callback execution timed out.
Error Description
The execution of an asset acceleration ExtensionAbility method times out.
Possible Causes
The execution of the asset acceleration ExtensionAbility method is not finished within its lifecycle.
Solution
Try again later. If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
Error Message
An exception occurs in the callback extension js.
Error Description
There is an abnormal method within the asset acceleration ExtensionAbility lifecycle.
Possible Causes
The internal processing logic of the asset acceleration ExtensionAbility times out.
Solution
Check whether there are uncaught exceptions in the methods within the asset acceleration ExtensionAbility lifecycle.
Error Message
Task service ability error.
Error Description
The asset acceleration service is abnormal.
Possible Causes
The game asset acceleration service is abnormal.
Solution
Try again later. If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
Error Message
Parameter error.
Error Description
Incorrect asset acceleration parameter.
Possible Causes
The type or value of an input parameter is incorrect.
Solution
Ensure that the input parameter is correct and try again.
Error Message
Service error. 1. Connect to system service failed; 2.System service failed to communicate with dependency module.
Error Description
Failed to start the acceleration service.
Possible Causes
The game fails to start the acceleration service.
1. The system service fails to be connected.
2. The system service cannot communicate with the dependent module.
Solution
Try again later. If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.
Error Message
The app is not in a preloading state.
Error Description
The game is not in pre-started state.
Possible Causes
The current game is not running in pre-started state.
Solution
You can obtain the startup reason through want.parameters in the onCreate lifecycle callback of UIAbility. If the value of ohos.params.gamePrelaunch is true, the current UIAbility is running in pre-started state.
Error Message
Parameter error.
Error Description
Incorrect acceleration startup parameter.
Possible Causes
The type or value of an input parameter is incorrect.
Solution
Ensure that the input parameter is correct and try again.
Error Message
The game buddy service is initializing, please retry later.
Error Description
The game buddy service is being initialized. Please try again later.
Possible Causes
After detecting that a game is launched, the system starts the game buddy service and triggers the initialization process.
Solution
Exit the current game process, wait for a while, and then launch the game again. If the game buddy service still cannot be started, submit a ticket online. Huawei will get back to you as soon as possible.
Error Message
No game is running, or the current game is not supported by the game buddy service. Please launch a supported game first.
Error Description
No game is running, or the game buddy service does not support the game. Start a game supported by the game buddy service first.
Possible Causes
No game is running, or the game buddy service does not support the game.
Solution
Submit a ticket online. Huawei will get back to you as soon as possible.