# INSTALL_FAILED_INSUFFICIENT_STORAGE: Package could not be installed due to insufficient storage

- **ID:** `android/install-failed-insufficient-storage`
- **Domain:** android
- **Category:** install_error
- **Error Code:** `INSTALL_FAILED_INSUFFICIENT_STORAGE`
- **Verification:** ai_generated
- **Fix Rate:** 85%

## Root Cause

Device has less free storage than required for APK installation and extraction.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Android 13 (API 33) | active | — | — |
| Android 14 (API 34) | active | — | — |
| adb 1.0.41 | active | — | — |

## Workarounds

1. **Free up device storage: delete unused apps, clear cache, or move media to SD card. Then run: adb install -r app-release.apk** (90% success)
   ```
   Free up device storage: delete unused apps, clear cache, or move media to SD card. Then run: adb install -r app-release.apk
   ```
2. **Use adb install with -s flag to install on SD card if available: adb install -s app-release.apk. Requires device support.** (70% success)
   ```
   Use adb install with -s flag to install on SD card if available: adb install -s app-release.apk. Requires device support.
   ```

## Dead Ends

- **Clear app data of other apps using Settings > Apps > Clear Data** — Clearing data may free little space; APK extraction needs contiguous free space, not just total free. (60% fail)
- **Uninstall the same app and reinstall from Google Play** — If device storage is critically low, Play Store also fails with same error; adb install still fails. (75% fail)
