Stay organized with collections
Save and categorize content based on your preferences.
InstallErrorCode
public
abstract
@interface
InstallErrorCode
implements
Annotation
com.google.android.play.core.install.model.InstallErrorCode
|
StatusCodes used by InstallService.
Summary
Constants
ERROR_API_NOT_AVAILABLE
public static final int ERROR_API_NOT_AVAILABLE
The API is not available on this device.
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.
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.
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.
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, ...).
Constant Value:
-6
(0xfffffffa)
ERROR_INSTALL_UNAVAILABLE
public static final int ERROR_INSTALL_UNAVAILABLE
The install is unavailable to this user or device.
Constant Value:
-5
(0xfffffffb)
ERROR_INTERNAL_ERROR
public static final int ERROR_INTERNAL_ERROR
An internal error happened in the Play Store.
Constant Value:
-100
(0xffffff9c)
ERROR_INVALID_REQUEST
public static final int ERROR_INVALID_REQUEST
The request that was sent by the app is malformed.
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.
Constant Value:
-9
(0xfffffff7)
ERROR_UNKNOWN
public static final int ERROR_UNKNOWN
An unknown error occurred.
Constant Value:
-2
(0xfffffffe)
NO_ERROR
public static final int NO_ERROR
No error occurred.
Constant Value:
0
(0x00000000)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# InstallErrorCode\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nInstallErrorCode\n================\n\n\n`\npublic\n\n\nabstract\n@interface\nInstallErrorCode\n`\n\n\n`\n\n\nimplements\n\n`[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`\n\n\n`\n\n|-------------------------------------------------------------|\n| com.google.android.play.core.install.model.InstallErrorCode |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nStatusCodes used by InstallService.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [ERROR_API_NOT_AVAILABLE](../../../../../../../../reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_API_NOT_AVAILABLE) The API is not available on this device. |\n| `int` | [ERROR_APP_NOT_OWNED](../../../../../../../../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. |\n| `int` | [ERROR_DOWNLOAD_NOT_PRESENT](../../../../../../../../reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_DOWNLOAD_NOT_PRESENT) The install/update has not been (fully) downloaded yet. |\n| `int` | [ERROR_INSTALL_IN_PROGRESS](../../../../../../../../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. |\n| `int` | [ERROR_INSTALL_NOT_ALLOWED](../../../../../../../../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. |\n| `int` | [ERROR_INSTALL_UNAVAILABLE](../../../../../../../../reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_INSTALL_UNAVAILABLE) The install is unavailable to this user or device. |\n| `int` | [ERROR_INTERNAL_ERROR](../../../../../../../../reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_INTERNAL_ERROR) An internal error happened in the Play Store. |\n| `int` | [ERROR_INVALID_REQUEST](../../../../../../../../reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_INVALID_REQUEST) The request that was sent by the app is malformed. |\n| `int` | [ERROR_PLAY_STORE_NOT_FOUND](../../../../../../../../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. |\n| `int` | [ERROR_UNKNOWN](../../../../../../../../reference/com/google/android/play/core/install/model/InstallErrorCode.html#ERROR_UNKNOWN) An unknown error occurred. |\n| `int` | [NO_ERROR](../../../../../../../../reference/com/google/android/play/core/install/model/InstallErrorCode.html#NO_ERROR) No error occurred. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| 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)`\u003c? extends `[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`\u003e` | ` 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() ` | ||\n\nConstants\n---------\n\n### ERROR_API_NOT_AVAILABLE\n\n```\npublic static final int ERROR_API_NOT_AVAILABLE\n```\n\nThe API is not available on this device.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-3\n(0xfffffffd)\n\n\n### ERROR_APP_NOT_OWNED\n\n```\npublic static final int ERROR_APP_NOT_OWNED\n```\n\nThe app is not owned by any user on this device. An app is \"owned\" if it has been acquired from\nPlay.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-10\n(0xfffffff6)\n\n\n### ERROR_DOWNLOAD_NOT_PRESENT\n\n```\npublic static final int ERROR_DOWNLOAD_NOT_PRESENT\n```\n\nThe install/update has not been (fully) downloaded yet.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-7\n(0xfffffff9)\n\n\n### ERROR_INSTALL_IN_PROGRESS\n\n```\npublic static final int ERROR_INSTALL_IN_PROGRESS\n```\n\nThe install is already in progress and there is no UI flow to resume.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-8\n(0xfffffff8)\n\n\n### ERROR_INSTALL_NOT_ALLOWED\n\n```\npublic static final int ERROR_INSTALL_NOT_ALLOWED\n```\n\nThe download/install is not allowed, due to the current device state (e.g. low battery, low\ndisk space, ...).\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-6\n(0xfffffffa)\n\n\n### ERROR_INSTALL_UNAVAILABLE\n\n```\npublic static final int ERROR_INSTALL_UNAVAILABLE\n```\n\nThe install is unavailable to this user or device.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-5\n(0xfffffffb)\n\n\n### ERROR_INTERNAL_ERROR\n\n```\npublic static final int ERROR_INTERNAL_ERROR\n```\n\nAn internal error happened in the Play Store.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-100\n(0xffffff9c)\n\n\n### ERROR_INVALID_REQUEST\n\n```\npublic static final int ERROR_INVALID_REQUEST\n```\n\nThe request that was sent by the app is malformed.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-4\n(0xfffffffc)\n\n\n### ERROR_PLAY_STORE_NOT_FOUND\n\n```\npublic static final int ERROR_PLAY_STORE_NOT_FOUND\n```\n\nThe Play Store app is either not installed or not the official version.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-9\n(0xfffffff7)\n\n\n### ERROR_UNKNOWN\n\n```\npublic static final int ERROR_UNKNOWN\n```\n\nAn unknown error occurred.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n-2\n(0xfffffffe)\n\n\n### NO_ERROR\n\n```\npublic static final int NO_ERROR\n```\n\nNo error occurred.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)"]]