Installer error

How to fix Failure [INSTALL_FAILED_INVALID_APK]

Quick summary

  • Seen in 15 public reports
  • Most common platform: android
  • Last updated: May 5, 2026

Known variations

  • Failure [INSTALL_FAILED_INVALID_APK]
  • How to fix INSTALL_FAILED_INVALID_APK error in Android Studio?
  • Targeting SDK Android Q results in Failed to finalize session : INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2
  • Apk failing to install on Android N with INSTALL_FAILED_INVALID_APK error
  • Error installing split apks: com.android.ddmlib.InstallException: Failed to finalize session : INSTALL_FAILED_INVALID_APK
  • Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_slice_0_apk was defined multiple times

Guide comparison

Field

Previous

LLM generated

Problem description

"This issue has been reported in 15 cases. Users experience problems such as: Failure [INSTALL_FAILED_INVALID_APK]."

Your Android device is rejecting an app installation with the error 'INSTALL_FAILED_INVALID_APK'. This usually means the app file is corrupted, incompatible with your device, or was modified incorrectly. The most common fix is to reinstall the app from the official source or check for app updates.

Likely causes
  • Outdated app or system version
  • Corrupted cache or data
  • Configuration conflicts
  • Incompatible Android SDK version
  • Corrupted or modified APK file
  • Split APK installation issues
  • Missing native library support
  • Security restrictions blocking installation
Fix steps
  1. Uninstall the existing app version
  2. Clear package installer cache
  3. Download a compatible version
  4. Reinstall the app
  1. 1. Uninstall the app completely from your device
  2. 2. Delete any leftover app data/files
  3. 3. Download the latest version from the official app store
  4. 4. Install the app directly from the store (not from files)
  5. 5. If using ADB: Run 'adb install -r' to reinstall
  6. 6. Check device storage has enough space
  7. 7. Restart your device after installation attempt
Warnings

No original warnings are available.

  • Modified APKs may contain malware or cause permanent device issues
  • Split APK installations require special tools not supported by most users
  • Data loss may occur if app data isn't properly backed up
  • Some fixes require USB debugging enabled on your device
  • Older Android versions may not support newer app features

Enriched long-form guide

This error occurs when your device detects problems with the app file you're trying to install. It often appears as 'Failure [INSTALL_FAILED_INVALID_APK]' or 'Failed to extract native libraries, res=-2'.

This typically happens when: - You're using an older version of Android (especially Android Q or newer) - The app was modified using tools like apktool or apk-mitm - You're trying to install a split APK package - The app was downloaded from an unofficial source

The error usually stems from one of these causes: - The app was compiled for an Android version newer than your device - Native code libraries in the app don't match your device's architecture - The APK file was damaged during download or modification - Security settings blocked the installation

Try these fixes in order: 1. **Update your device** to the latest Android version if possible 2. **Reinstall the app** from the official app store (Google Play, Samsung Galaxy Store, etc.) 3. **Check for app updates** in the store - outdated versions often cause compatibility issues 4. **Avoid modified APKs** - use only official app store downloads 5. **Try a different device** to rule out hardware-specific issues 6. **Clear app data/cache** if reinstalling from the store

If you're a developer: Ensure your app targets the correct SDK version and includes proper native library support for your device architecture.

Evidence

Failure [INSTALL_FAILED_INVALID_APK]

stackexchange · 198919 views · score 108

Open source
How to fix INSTALL_FAILED_INVALID_APK error in Android Studio?

stackexchange · 34434 views · score 15

Open source
Targeting SDK Android Q results in Failed to finalize session : INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2

stackexchange · 31265 views · score 40

Open source
Apk failing to install on Android N with INSTALL_FAILED_INVALID_APK error

stackexchange · 17651 views · score 12

Open source
Error installing split apks: com.android.ddmlib.InstallException: Failed to finalize session : INSTALL_FAILED_INVALID_APK

stackexchange · 17444 views · score 17

Open source
Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_slice_0_apk was defined multiple times

stackexchange · 9517 views · score 9

Open source
INSTALL_FAILED_INVALID_APK error with debug version code 1 inconsistent with 0

stackexchange · 9433 views · score 5

Open source
Prompting INSTALL_FAILED_INVALID_APK while debugging Flash Builder 4 mobile app on real device

stackexchange · 9041 views · score 3

Open source
[INSTALL_FAILED_INVALID_APK]Base.apk is missing with Xamarin.Forms

stackexchange · 7721 views · score 4

Open source
Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split null was defined multiple times

stackexchange · 7331 views · score 6

Open source