Error code
Android INSTALL_FAILED_INVALID_APK
ANDROIDINSTALL_FAILED_INVALID_APK
Android Error Code· An error code shown by Android or the Google Play Store.
What it means
The APK file is malformed or corrupt and cannot be parsed by the Android package manager.
How to fix it
- Re-download the APK from a trusted source.
- Verify the APK's integrity with a checksum if provided by the developer.
- Build or export the APK again from Android Studio if developing the app.
Not affiliated with Android. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.
More Android codes
- INSTALL_FAILED_ALREADY_EXISTSThe APK cannot be installed because another app with the same package name is already installed
- INSTALL_FAILED_CONTAINER_ERRORThe APK cannot be installed to the SD card or secondary storage because of a filesystem error
- INSTALL_FAILED_DUPLICATE_PERMISSIONThe APK declares a custom permission that conflicts with a permission already declared by another installed app
- INSTALL_FAILED_INSUFFICIENT_STORAGEThe APK cannot be installed because the device does not have enough free storage space
- INSTALL_FAILED_INTERNAL_ERRORThe package manager encountered an unspecified internal error while installing the APK
- INSTALL_FAILED_MEDIA_UNAVAILABLEThe APK cannot be installed to external storage because the storage is not available
- INSTALL_FAILED_MISSING_FEATUREThe APK requires a hardware or software feature that this device does not support
- INSTALL_FAILED_NO_MATCHING_ABISThe APK does not contain native libraries compiled for any ABI supported by this device
- INSTALL_FAILED_OLDER_SDKThe APK requires a minimum Android API level higher than the API level running on this device
- INSTALL_FAILED_TEST_ONLYThe APK cannot be installed because it is marked as a test-only build
- INSTALL_FAILED_UPDATE_INCOMPATIBLEThe new APK cannot be installed because an existing version is already installed and the signatures do not match
- INSTALL_FAILED_VERSION_DOWNGRADEThe APK cannot be installed because its version code is lower than the currently installed version