INSTALL_FAILED_INSUFFICIENT_STORAGE 🤖 Android

INSTALL_FAILED_INSUFFICIENT_STORAGE: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

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

Seen on: Android

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

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.