# InstallErrorCode

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

# InstallErrorCode

`
public


abstract
@interface
InstallErrorCode
`  
`


implements

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


`

|-------------------------------------------------------------|
| com.google.android.play.core.install.model.InstallErrorCode |

<br />

*** ** * ** ***

StatusCodes used by InstallService.

## Summary

|                                                                                                                   ### Constants                                                                                                                   ||
|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [ERROR_API_NOT_AVAILABLE](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_API_NOT_AVAILABLE) The API is not available on this device.                                       |
| `int` | [ERROR_APP_NOT_OWNED](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_APP_NOT_OWNED) The app is not owned by any user on this device.                                       |
| `int` | [ERROR_DOWNLOAD_NOT_PRESENT](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_DOWNLOAD_NOT_PRESENT) The install/update has not been (fully) downloaded yet.                  |
| `int` | [ERROR_INSTALL_IN_PROGRESS](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_INSTALL_IN_PROGRESS) The install is already in progress and there is no UI flow to resume.      |
| `int` | [ERROR_INSTALL_NOT_ALLOWED](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_INSTALL_NOT_ALLOWED) The download/install is not allowed, due to the current device state (e.g. |
| `int` | [ERROR_INSTALL_UNAVAILABLE](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_INSTALL_UNAVAILABLE) The install is unavailable to this user or device.                         |
| `int` | [ERROR_INTERNAL_ERROR](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_INTERNAL_ERROR) An internal error happened in the Play Store.                                        |
| `int` | [ERROR_INVALID_REQUEST](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_INVALID_REQUEST) The request that was sent by the app is malformed.                                 |
| `int` | [ERROR_PLAY_STORE_NOT_FOUND](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_PLAY_STORE_NOT_FOUND) The Play Store app is either not installed or not the official version.  |
| `int` | [ERROR_UNKNOWN](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_UNKNOWN) An unknown error occurred.                                                                         |
| `int` | [NO_ERROR](https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode.html#NO_ERROR) No error occurred.                                                                                           |

| ### 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

### ERROR_API_NOT_AVAILABLE

```
public static final int ERROR_API_NOT_AVAILABLE
```

The API is not available on this device.

<br />

Constant Value: -3 (0xfffffffd)  

### ERROR_APP_NOT_OWNED

```
public static final int ERROR_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: -10 (0xfffffff6)  

### ERROR_DOWNLOAD_NOT_PRESENT

```
public static final int ERROR_DOWNLOAD_NOT_PRESENT
```

The install/update has not been (fully) downloaded yet.

<br />

Constant Value: -7 (0xfffffff9)  

### ERROR_INSTALL_IN_PROGRESS

```
public static final int ERROR_INSTALL_IN_PROGRESS
```

The install is already in progress and there is no UI flow to resume.

<br />

Constant Value: -8 (0xfffffff8)  

### ERROR_INSTALL_NOT_ALLOWED

```
public static final int ERROR_INSTALL_NOT_ALLOWED
```

The download/install is not allowed, due to the current device state (e.g. low battery, low disk space, ...).

<br />

Constant Value: -6 (0xfffffffa)  

### ERROR_INSTALL_UNAVAILABLE

```
public static final int ERROR_INSTALL_UNAVAILABLE
```

The install is unavailable to this user or device.

<br />

Constant Value: -5 (0xfffffffb)  

### ERROR_INTERNAL_ERROR

```
public static final int ERROR_INTERNAL_ERROR
```

An internal error happened in the Play Store.

<br />

Constant Value: -100 (0xffffff9c)  

### ERROR_INVALID_REQUEST

```
public static final int ERROR_INVALID_REQUEST
```

The request that was sent by the app is malformed.

<br />

Constant Value: -4 (0xfffffffc)  

### ERROR_PLAY_STORE_NOT_FOUND

```
public static final int ERROR_PLAY_STORE_NOT_FOUND
```

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

<br />

Constant Value: -9 (0xfffffff7)  

### ERROR_UNKNOWN

```
public static final int ERROR_UNKNOWN
```

An unknown error occurred.

<br />

Constant Value: -2 (0xfffffffe)  

### NO_ERROR

```
public static final int NO_ERROR
```

No error occurred.

<br />

Constant Value: 0 (0x00000000)