apkファイルインストール時のエラー一覧

INSTALL_FAILED_ALREADY_EXISTS

if the package is already installed.
すでに同じアプリがインストールされている。
インストール済みのアプリを削除してインストールするか、adb install -r 【apkファイル名】としてインストールする。
[参考記事] apkファイルから削除用バッチファイルを作成する方法
[参考記事] apkファイルを削除する方法

INSTALL_FAILED_DEXOPT

if the new package failed while optimizing and validating its dex files, either because there was not enough storage or the validation failed.
空き容量が足りないかバリデーションに失敗して、dexファイルの処理ができませんでした。

INSTALL_FAILED_DUPLICATE_PACKAGE

if a package is already installed with the same name.
同じ名前のアプリがインストールされています。

INSTALL_FAILED_INSUFFICIENT_STORAGE

if the package manager service found that the device didn't have enough storage space to install the app
端末のアプリインストール領域(/dataパーティション)の容量が足りません。
[参考記事] エミュレータでアプリのインストール領域を増やす方法

INSTALL_FAILED_INVALID_APK

if the package archive file is invalid.
apkファイルが不正です。

INSTALL_FAILED_INVALID_URI

if the URI passed in is invalid.
URIが不正です。

INSTALL_FAILED_MISSING_SHARED_LIBRARY

if the new package uses a shared library that is not available.
共有ライブラリが見つかりません。

INSTALL_FAILED_NO_SHARED_USER

if the requested shared user does not exist.
共有ユーザが見つかりません。

INSTALL_FAILED_OLDER_SDK

if the new package failed because the current SDK version is older than that required by the package.
apkのAndroidOSのバージョンが端末のAndroidOSのバージョンに対応していません。

INSTALL_FAILED_REPLACE_COULDNT_DELETE

if the new package uses a shared library that is not available.
共有ライブラリが見つかりません。

INSTALL_FAILED_SHARED_USER_INCOMPATIBLE

if the new package is requested a shared user which is already installed on the device and does not have matching signature.
署名が一致していません。

INSTALL_FAILED_UPDATE_INCOMPATIBLE

if a previously installed package of the same name has a different signature than the new package (and the old package's data was not removed).
すでにインストールされているパッケージと署名が違います。

INSTALL_PARSE_FAILED_BAD_MANIFEST

if the parser was unable to retrieve the AndroidManifest.xml file.
AndroidManifest.xmlが不正です。

INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME

if the parser encountered a bad or missing package name in the manifest.
パッケージ名が不正です。

INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID

if the parser encountered a bad shared user id name in the manifest.
使用できない共有ユーザです。

INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING

if the parser encountered a CertificateEncodingException in one of the files in the .apk.
証明書エラーです。

INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES

if the parser found inconsistent certificates on the files in the .apk.
不正な証明書です。
すでにインストールされているアプリと証明書が異なります。

INSTALL_PARSE_FAILED_MANIFEST_EMPTY

if the parser did not find any actionable tags (instrumentation or application) in the manifest.
AndroidManifest.xmlのタグが不正です。

INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

if the parser encountered some structural problem in the manifest.

INSTALL_PARSE_FAILED_NO_CERTIFICATES

if the parser did not find any certificates in the .apk.
証明書が不正です。

INSTALL_PARSE_FAILED_NOT_APK

if the parser was given a path that is not a file, or does not end with the expected '.apk' extension.
apkファイルではありません。

INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION

if the parser encountered an unexpected exception.
不明なエラーです。

関連記事

スポンサーリンク

memcachedを使用する(memcache-client)

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る