Android Error Code INSTALL_FAILED_INVALID_APK
The APK is corrupt or structurally invalid.
The APK is corrupt or structurally invalid.
| Code | INSTALL_FAILED_INVALID_APK |
| Product | Android |
| Company / origin | Google / Open Handset Alliance · United States |
| Category | Mobile Platforms |
| Platform / versions | Android 8 and later · adb / Android package manager |
| Severity | error |
| Official source | Android Developers: adb ↗ |
| Last verified | 2026-11-08 |
What does Android error INSTALL_FAILED_INVALID_APK mean?
The package manager could not parse the APK. It may be truncated, signed incorrectly, built for an incompatible format, or missing required components.
Common causes
- The APK download or build was incomplete.
- The APK is not signed, or its signature block is malformed.
- The APK contains an invalid manifest or resource table.
How to fix it
- Step 1
Rebuild the APK and verify its checksum before installing.
- Step 2
Sign the APK with a valid debug or release key.
- Step 3
Inspect the manifest and build logs for packaging errors.
When to escalate
Related codes
| Code | Name | What it means |
|---|---|---|
INSTALL_FAILED_ALREADY_EXISTS | INSTALL_FAILED_ALREADY_EXISTS | The package is already installed on the device. |
INSTALL_FAILED_INSUFFICIENT_STORAGE | INSTALL_FAILED_INSUFFICIENT_STORAGE | The device does not have enough storage for the install. |
INSTALL_FAILED_NO_MATCHING_ABIS | INSTALL_FAILED_NO_MATCHING_ABIS | The APK has no native libraries for the device's CPU architecture. |
INSTALL_FAILED_OLDER_SDK | INSTALL_FAILED_OLDER_SDK | The device's Android version is older than the app's minSdkVersion. |
INSTALL_FAILED_TEST_ONLY | Test-Only Package | The APK is marked test-only and cannot be installed normally. |
Source & verification
This page was checked against Android Developers: adb on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.
Open Error Codes is independent and not affiliated with Google / Open Handset Alliance. Always confirm destructive or security-sensitive steps with the official documentation.