# SplitInstallErrorCode

Summary:[Constants](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode#constants)\|[Inherited Methods](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode#inhmethods)  

# SplitInstallErrorCode

`
public


abstract
@interface
SplitInstallErrorCode
`  
`


implements

`[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`


`

|-----------------------------------------------------------------------|
| com.google.android.play.core.splitinstall.model.SplitInstallErrorCode |

<br />

*** ** * ** ***

Status of a download / install.

## Summary

|                                                                                                                                                                                                                 ### Constants                                                                                                                                                                                                                 ||
|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [ACCESS_DENIED](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#ACCESS_DENIED) Download not permitted under current device circumstances (e.g.                                                                                                                                                                                                                      |
| `int` | [ACTIVE_SESSIONS_LIMIT_EXCEEDED](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#ACTIVE_SESSIONS_LIMIT_EXCEEDED) Too many sessions are running for current app, existing sessions must be resolved first.                                                                                                                                                           |
| `int` | [API_NOT_AVAILABLE](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#API_NOT_AVAILABLE) Split Install API is not available.                                                                                                                                                                                                                                          |
| `int` | [APP_NOT_OWNED](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#APP_NOT_OWNED) The app is not owned by any user on this device.                                                                                                                                                                                                                                     |
| `int` | [INCOMPATIBLE_WITH_EXISTING_SESSION](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#INCOMPATIBLE_WITH_EXISTING_SESSION) Requested session contains modules from an existing active session and also new modules.                                                                                                                                                   |
| `int` | [INSUFFICIENT_STORAGE](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#INSUFFICIENT_STORAGE) Install failed due to insufficient storage.                                                                                                                                                                                                                            |
| `int` | [INTERNAL_ERROR](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#INTERNAL_ERROR) Unknown error processing split install.                                                                                                                                                                                                                                            |
| `int` | [INVALID_REQUEST](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#INVALID_REQUEST) Request is otherwise invalid.                                                                                                                                                                                                                                                    |
| `int` | [MODULE_UNAVAILABLE](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#MODULE_UNAVAILABLE) A requested module is not available (to this user/device, for the installed apk).                                                                                                                                                                                          |
| `int` | [NETWORK_ERROR](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#NETWORK_ERROR) Network error: unable to obtain split details.                                                                                                                                                                                                                                       |
| `int` | [NO_ERROR](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#NO_ERROR) <br />                                                                                                                                                                                                                                                                                         |
| `int` | [PLAY_STORE_NOT_FOUND](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#PLAY_STORE_NOT_FOUND) The Play Store app is either not installed or not the official version.                                                                                                                                                                                                |
| `int` | [SERVICE_DIED](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#SERVICE_DIED) *This constant is deprecated. Use[Task.addOnFailureListener(Activity, OnFailureListener)](https://developer.google.com/android/reference/com/google/android/gms/tasks/Task.html#addOnFailureListener(android.app.Activity,%20com.google.android.gms.tasks.OnFailureListener))instead.* |
| `int` | [SESSION_NOT_FOUND](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#SESSION_NOT_FOUND) Requested session is not found.                                                                                                                                                                                                                                              |
| `int` | [SPLITCOMPAT_COPY_ERROR](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#SPLITCOMPAT_COPY_ERROR) Error in copying files for SplitCompat.                                                                                                                                                                                                                            |
| `int` | [SPLITCOMPAT_EMULATION_ERROR](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#SPLITCOMPAT_EMULATION_ERROR) Error in SplitCompat emulation.                                                                                                                                                                                                                          |
| `int` | [SPLITCOMPAT_VERIFICATION_ERROR](https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#SPLITCOMPAT_VERIFICATION_ERROR) Signature verification error when invoking SplitCompat.                                                                                                                                                                                            |

| ### Inherited methods |
|-----------------------|---|
| From interface` `[java.lang.annotation.Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)` ` |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` abstract `[Class](https://developer.android.com/reference/java/lang/Class.html)`<? extends `[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`>` | ` annotationType() `                                                                       | | ` abstract boolean`                                                                                                                                                                         | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` abstract int`                                                                                                                                                                             | ` hashCode() `                                                                             | | ` abstract `[String](https://developer.android.com/reference/java/lang/String.html)                                                                                                         | ` toString() `                                                                             | ||

## Constants

### ACCESS_DENIED

```
public static final int ACCESS_DENIED
```

Download not permitted under current device circumstances (e.g. in background).

<br />

Constant Value: -7 (0xfffffff9)  

### ACTIVE_SESSIONS_LIMIT_EXCEEDED

```
public static final int ACTIVE_SESSIONS_LIMIT_EXCEEDED
```

Too many sessions are running for current app, existing sessions must be resolved first.

<br />

Constant Value: -1 (0xffffffff)  

### API_NOT_AVAILABLE

```
public static final int API_NOT_AVAILABLE
```

Split Install API is not available.

<br />

Constant Value: -5 (0xfffffffb)  

### APP_NOT_OWNED

```
public static final int APP_NOT_OWNED
```

The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play.

<br />

Constant Value: -15 (0xfffffff1)  

### INCOMPATIBLE_WITH_EXISTING_SESSION

```
public static final int INCOMPATIBLE_WITH_EXISTING_SESSION
```

Requested session contains modules from an existing active session and also new modules.

<br />

Constant Value: -8 (0xfffffff8)  

### INSUFFICIENT_STORAGE

```
public static final int INSUFFICIENT_STORAGE
```

Install failed due to insufficient storage.

<br />

Constant Value: -10 (0xfffffff6)  

### INTERNAL_ERROR

```
public static final int INTERNAL_ERROR
```

Unknown error processing split install.

<br />

Constant Value: -100 (0xffffff9c)  

### INVALID_REQUEST

```
public static final int INVALID_REQUEST
```

Request is otherwise invalid.

<br />

Constant Value: -3 (0xfffffffd)  

### MODULE_UNAVAILABLE

```
public static final int MODULE_UNAVAILABLE
```

A requested module is not available (to this user/device, for the installed apk).

<br />

Constant Value: -2 (0xfffffffe)  

### NETWORK_ERROR

```
public static final int NETWORK_ERROR
```

Network error: unable to obtain split details.

<br />

Constant Value: -6 (0xfffffffa)  

### NO_ERROR

```
public static final int NO_ERROR
```

<br />

<br />

Constant Value: 0 (0x00000000)  

### PLAY_STORE_NOT_FOUND

```
public static final int PLAY_STORE_NOT_FOUND
```

The Play Store app is either not installed or not the official version.

<br />

Constant Value: -14 (0xfffffff2)  

### SERVICE_DIED

```
public static final int SERVICE_DIED
```

<br />

**This constant is deprecated.**   
Use[Task.addOnFailureListener(Activity, OnFailureListener)](https://developer.google.com/android/reference/com/google/android/gms/tasks/Task.html#addOnFailureListener(android.app.Activity,%20com.google.android.gms.tasks.OnFailureListener))instead.

Service handling split install has died.

This error code will be sent with session id = -1 and failed session status when the service handling split install has died. Upon receiving this error code the app should retry the request.

<br />

Constant Value: -9 (0xfffffff7)  

### SESSION_NOT_FOUND

```
public static final int SESSION_NOT_FOUND
```

Requested session is not found.

<br />

Constant Value: -4 (0xfffffffc)  

### SPLITCOMPAT_COPY_ERROR

```
public static final int SPLITCOMPAT_COPY_ERROR
```

Error in copying files for SplitCompat.

<br />

Constant Value: -13 (0xfffffff3)  

### SPLITCOMPAT_EMULATION_ERROR

```
public static final int SPLITCOMPAT_EMULATION_ERROR
```

Error in SplitCompat emulation.

<br />

Constant Value: -12 (0xfffffff4)  

### SPLITCOMPAT_VERIFICATION_ERROR

```
public static final int SPLITCOMPAT_VERIFICATION_ERROR
```

Signature verification error when invoking SplitCompat.

<br />

Constant Value: -11 (0xfffffff5)