You ran `adb install` on a 1.9 GB APK and got `Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]` back, while Settings still shows 6 GB free. Both numbers are right. The installer reserves peak space up front, which is a different question from how much room is left. Stop as soon as the failure suffix changes. If you only came for space, read free up storage on your phone first.
Quick steps
- Read the exact suffix after INSTALL_FAILED_ before changing anything
- Run adb shell df -h /data to see the real free figure
- Clear /data/local/tmp, where failed installs leave staging files
- Install through pm install-create and pm install-write in chunks
- Uninstall the old copy if the package name already exists
- Match the APK to your CPU, arm64-v8a on anything from 2019 on
- Stop and get the storage tested if a small APK fails on plenty of space
Things you'll need
- A USB data cable, not a charge-only one
- A computer with platform-tools and USB debugging enabled
- The APK file with its published size and checksum
- About 5 GB of free space on the phone for a 1.9 GB package
Step-by-step
Method 1 of 3: Read What the Error Is Actually Saying
Step 1: Match the Suffix Before Touching Anything
`INSTALL_FAILED_INSUFFICIENT_STORAGE` means the installer could not reserve space under /data/app. It is not a full-disk message. Note the exact text after INSTALL_FAILED_ on your screen, because every suffix points at a different layer.
More on this: Android Developers — adb package manager commands. Background: Android Developers — App Bundle overview. Related guide: Android Phone Slow When Internal Storage Is Nearly Full.
Step 2: Compare Free Space With Peak Space
Open Settings → Storage → Internal storage and read the free figure. Then double it in your head. An APK of 1.8 GB needs roughly 5 GB clear, since the package is staged, unpacked, and verified before the old copy drops.
Official reference — Android Developers — App Bundle overview. Deeper read — Android Developers — uses-sdk-element and minSdkVersion. On 52runoob — iPhone "Storage Almost Full" When There Is Free Space.
Step 3: Separate Storage From a Signing Conflict
`INSTALL_FAILED_UPDATE_INCOMPATIBLE` means that package name already exists on the phone with a different signing key. Free space will never fix it. You must uninstall the existing copy, and that wipes its app data.
→ Android Developers — uses-sdk-element and minSdkVersion · Google Pixel Support · Android "Other" Storage Eating Half the Phone
Step 4: Separate Storage From a CPU Mismatch
`INSTALL_FAILED_NO_MATCHING_ABIS` means the APK carries no native library for your chip. Phones sold from 2019 on are mostly arm64-v8a. An armeabi-v7a-only build fails here with 60 GB free, and no cleanup helps.
More on this: Google Pixel Support. Background: Android Developers — Android Debug Bridge (adb). Related guide: Android Phone Slow When Internal Storage Is Nearly Full.
Step 5: Suspect the Vendor Installer Instead
MIUI and ColorOS run their own install verification on top of Android's. They sometimes report a storage failure when the real block is a security policy. Check Settings → Apps → Manage apps. If the same file installs over adb, the phone's installer was lying.
Official reference — Android Developers — Android Debug Bridge (adb). Deeper read — Android Developers — adb package manager commands. On 52runoob — iPhone "Storage Almost Full" When There Is Free Space.
Step 6: Verify the APK Is Not Truncated
Compare the file size against the source page, and check the checksum if one is published. A download that stopped early still ends in .apk, then fails at the verify stage and reports storage. This is the cheapest thing to rule out.
→ Android Developers — adb package manager commands · Android Developers — App Bundle overview · Android "Other" Storage Eating Half the Phone
Method 2 of 3: Free the Space the Installer Really Needs
Step 7: Measure /data With df, Not the UI
Run `adb shell df -h /data` and read the Available column on the /data line. Settings rounds the number and hides reserved blocks. Under 3 GB available there counts as full for sideload purposes. That is the figure to act on.
More on this: Android Developers — App Bundle overview. Background: Google Pixel Support. Related guide: Android Phone Slow When Internal Storage Is Nearly Full.
Step 8: Clear the Temporary Staging Folder
Run `adb shell rm -rf /data/local/tmp/*` to drop leftovers from earlier failed installs. Those files survive reboots and nobody cleans them. On a phone that has been sideloading for a year this folder can hold several GB.
Official reference — Android Developers — uses-sdk-element and minSdkVersion. Deeper read — Android Developers — Android Debug Bridge (adb). On 52runoob — iPhone "Storage Almost Full" When There Is Free Space.
Step 9: Open a Session With pm install-create
`adb shell pm install-create -S <bytes>` opens a session and prints an ID. Keep that ID. Then `pm install-write -S <bytes> <id> base` streams the file in. Nothing unpacks until you commit, so peak space is reserved properly.
→ Google Pixel Support · Android Developers — adb package manager commands · Android "Other" Storage Eating Half the Phone
Step 10: Commit Only at the Very End
`adb shell pm install-commit <id>` finalizes the package. If it returns the storage error again, the phone really is out of room and no flag will save you. The session is dropped whole, so nothing is left half-installed.
More on this: Android Developers — Android Debug Bridge (adb). Background: Android Developers — App Bundle overview. Related guide: Android Phone Slow When Internal Storage Is Nearly Full.
Step 11: Remove Old Copies of the Package
`adb shell pm uninstall --user 0 <package>` removes the app from your profile without root. Back up its data first if it matters. Sideloaded builds tend to stack three or four versions deep, each holding its own space.
Official reference — Android Developers — adb package manager commands. Deeper read — Android Developers — uses-sdk-element and minSdkVersion. On 52runoob — iPhone "Storage Almost Full" When There Is Free Space.
Step 12: Move Video Off the Internal Volume
Copy the DCIM folder to a computer, confirm the copy opens, then delete it on the phone. One minute of 4K video is 400 MB. This is the fastest honest way to buy 10 GB, and it takes as long as the copy.
→ Android Developers — App Bundle overview · Google Pixel Support · Android "Other" Storage Eating Half the Phone
Step 13: Wipe the Cache Partition Only
A full /cache blocks the verify step on some older builds. Boot to recovery and choose Wipe cache partition. Nothing else. On A/B devices this menu is often missing, and that is normal, not a fault.
More on this: Android Developers — uses-sdk-element and minSdkVersion. Background: Android Developers — Android Debug Bridge (adb). Related guide: Android Phone Slow When Internal Storage Is Nearly Full.
Method 3 of 3: Work Around the Installer, Then Stop
Step 14: Allow Install Over USB Properly
Turn on Settings → Developer options → Install via USB. On MIUI it also wants a SIM inserted and an account signed in. Sign in first. If this option is greyed out, reboot and look again before you give up on adb.
Official reference — Google Pixel Support. Deeper read — Android Developers — App Bundle overview. On 52runoob — iPhone "Storage Almost Full" When There Is Free Space.
Step 15: Suspend App Verification for the Session
In Settings → Security → Install unknown apps, allow your file manager, then pause Play Protect scanning while you test. Turn both back on when the install succeeds. Leaving verification off is the usual start of a malware story.
→ Android Developers — Android Debug Bridge (adb) · Android Developers — uses-sdk-element and minSdkVersion · Android "Other" Storage Eating Half the Phone
Step 16: Install the Split Set Together
App bundles arrive as base.apk plus config splits. `adb install-multiple base.apk config.arm64_v8a.apk config.xxhdpi.apk` handles them in one transaction. Installing base.apk alone fails with an ABI or missing-resource error.
More on this: Android Developers — adb package manager commands. Background: Google Pixel Support. Related guide: Android Phone Slow When Internal Storage Is Nearly Full.
Step 17: Restart the adb Server Before Reinstalling
If adb fails but a file manager succeeds, the bridge is the problem. Run `adb kill-server`. Then replug the cable and try once more. Honestly, it is almost always the cable or the port.
Official reference — Android Developers — App Bundle overview. Deeper read — Android Developers — Android Debug Bridge (adb). On 52runoob — iPhone "Storage Almost Full" When There Is Free Space.
Step 18: Swap the Cable and the Port
Use a cable that carries data. Plug into a port on the machine itself, not a hub. A hub that browns out mid-write produces exactly the storage error you started with, and it does it every time.
→ Android Developers — uses-sdk-element and minSdkVersion · Android Developers — adb package manager commands · Android "Other" Storage Eating Half the Phone
Step 19: Know When the Phone Is the Fault
If a 40 MB APK fails on 20 GB free across three cables, the emulated storage or the flash is failing. That is a board-level repair. Stop sideloading, back up what you can, and get the storage tested.
More on this: Google Pixel Support. Background: Android Developers — App Bundle overview. Related guide: Android Phone Slow When Internal Storage Is Nearly Full.
Tips
- The number in Settings is rounded and excludes reserved blocks, so trust df instead
- A failed pm session is discarded whole, so a bad attempt never leaves a half-installed app
- If the same APK installs over adb but not from a file manager, the phone's install verification is the blocker, not storage
- atch the APK size against the source before you blame the phone, truncated downloads fail at verify time
Warnings
- Uninstalling to clear an update conflict wipes that app's local data, back it up first
- Turning off app verification to make an install go through is how people end up with banking trojans, re-enable it after
- Do not use a USB hub for large transfers, a mid-write drop produces misleading storage errors
- Never flash or repartition storage to gain space on a phone you still need
Frequently asked questions
Why does it fail when Settings shows several GB free?
The installer reserves peak space before writing: staged copy, unpacked copy, verified result. That peak is about three times the APK, so a 1.9 GB package needs roughly 5 GB clear.
Is INSTALL_FAILED_UPDATE_INCOMPATIBLE the same thing?
No. It means the package name already exists with a different signing key. No amount of free space helps. You have to uninstall the old copy first, which deletes its data.
What does INSTALL_FAILED_NO_MATCHING_ABIS mean?
The APK ships native libraries for a CPU type your phone does not have. Most phones since 2019 are arm64-v8a, so an armeabi-v7a-only build fails even with 60 GB free.
Can I install an app bundle as a single APK?
No. Bundles are split into a base plus config splits for CPU and screen density. Use adb install-multiple with all the files, or base.apk alone will fail on missing resources.
References
- Android Developers — Android Debug Bridge (adb). https://developer.android.com/tools/adb
- Android Developers — adb package manager commands. https://developer.android.com/tools/adb#pm
- Android Developers — App Bundle overview. https://developer.android.com/guide/app-bundle
- Android Developers — uses-sdk-element and minSdkVersion. https://developer.android.com/guide/topics/manifest/uses-sdk-element
- Google Pixel Support. https://support.google.com/pixelphone/
Every guide is reviewed against its sources. See our editorial policy.
Reader comments
0 so farFinished this guide? Tell other readers what worked, what didn't, and what you would change.