目录

FeatureInstallErrorCode

Class Info

public class FeatureInstallErrorCode extends Object

Result code class during execution of a dynamic loading task. You can query failure information about a dynamic loading task based on the result code.

Field Summary

Type

Name

Value

Description

int

NO_ERROR

0

No error.

int

ACTIVE_SESSIONS_LIMIT_EXCEEDED

-1

Too many requested features. The app must parse existing sessions first.

int

MODULE_UNAVAILABLE

-2

Unavailable feature for the user or device.

int

INVALID_REQUEST

-3

Invalid request.

int

SESSION_NOT_FOUND

-4

Session not found.

int

API_NOT_AVAILABLE

-5

API unavailable.

int

NETWORK_ERROR

-6

Failed to obtain feature details due to network errors.

int

ACCESS_DENIED

-7

Access error. For example, download is not allowed on the current device.

int

INCOMPATIBLE_WITH_EXISTING_SESSION

-8

Session conflict.

int

SERVICE_DIED

-9

Failed to access the feature installation service of HUAWEI AppGallery.

int

INSUFFICIENT_STORAGE

-10

Installation failed due to insufficient storage space.

int

SPLITCOMPAT_VERIFICATION_ERROR

-11

Failed to verify the signature of a split APK.

int

SPLITCOMPAT_EMULATION_ERROR

-12

Dynamic loading failed.

int

SPLITCOMPAT_COPY_ERROR

-13

Failed to copy a split APK.

int

INTERNAL_ERROR

-100

Internal unknown error.

int

NOT_SIGN_AGREEMENT

901

User agreement not signed.

int

REQUIRE_INSTALL_CONFIRM

902

Download and installation not confirmed.

int

NO_INSTALL_PERMISSION

903

No silent installation permission.

int

INSTALL_APKS_FAILED

904

Failed to install the APK.