# INSTALL_FAILED_INSUFFICIENT_STORAGE: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

**Code:** `INSTALL_FAILED_INSUFFICIENT_STORAGE` · **Category:** Android · **Seen on:** Android

The device or emulator doesn’t have enough free internal storage to install the APK.

## Meaning

Emulators are created with small /data partitions (often 2–6 GB) that fill up with old builds and caches. Real devices hit it with large apps or when storage is nearly full.

## Common causes

- Emulator data partition too small or full
- Old versions/other apps filling storage
- Very large APK/AAB with big assets

## Quick fix

1. Wipe the emulator data or increase its internal storage in Device Manager
2. Uninstall old builds: adb uninstall com.example.app
3. Free space on the device

## Detailed fix by platform

### ADB

1. 

```kotlin
adb shell df -h /data
adb uninstall com.example.app
adb shell pm trim-caches 999G
```


## How to diagnose

1. **Space** — df on /data
2. **Emulator** — Internal storage size in AVD settings

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/android/install-failed-insufficient-storage)
