Every guide lists its sources, tips, and warnings. Read our editorial policy.

How to Fix Google Play Error 505 and 504 When Installing Apps

Error 505 means Play reached the install stage and found a permission or package conflict already registered on the device. Error 504 reports the same collision with less detail, usually after an uninstall that never finished. Both are cleared by removing the leftover package record, not by clearing the download cache.

Download checklist (PDF)

Google Play downloads the app and then stops with error 505, or fails with a bare 504 and no explanation. The download is not the problem, which is why clearing the cache twice changes nothing. A record of the app is still registered on the phone, and the installer refuses to register it a second time. Remove that record and the install completes.

Quick steps

  1. Note whether the error names the install stage or is a bare 504
  2. Search Settings, Apps for a ghost entry with no version
  3. Check every user profile including a work profile
  4. Clear the Play Store cache, then Play services cache, then reboot
  5. Confirm free storage is more than twice the APK size
  6. Remove any single-APK install from a mirror
  7. Remove the package by name with adb if Settings will not
  8. Clear the package installer and access helper
  9. Reinstall only from the Play Store
  10. Verify the app is available for this device and country
  11. Sync the library back to the account
  12. Check Play Protect certification
  13. Test with one small app before escalating

Things you'll need

  • About 3 GB of free internal storage
  • A USB cable and a computer, only if the Settings screen will not remove the entry
  • Your Google account password
  • Roughly 25 minutes

Step-by-step

Section 1

Method 1 of 2: Identify the Conflict the Installer Sees

Step 1: Read 505 as a Permission Conflict, Not a Download Failure

Error 505 reads "unknown error code during application install: -505" and it happens at the install stage, not the download stage. Play is reporting that the package's permission request collides with something already registered on the device. That is why the same app installs perfectly on another phone and fails forever on this one.

Reference: Google Play Help — Fix problems with the Google Play Store app · Related guide: Google Play Error Code 495 · On 52runoob — Google Play Error 927 and 941 When Apps Will Not Update

Step 1: Read 505 as a Permission Conflict, Not a Download Failure

Step 2: Separate 505 From 504 by What the Dialog Says

504 reports "unable to install" with no detail and usually arrives after a failed uninstall, while 505 names the install stage explicitly. Both trace back to a package record the device still believes in. If the app appears in Settings but will not open, or disappears from the launcher while still counting against storage, that record is the thing to clear.

Reference: Google Play Help — Fix an installed Android app that isn't working · Related guide: App Not Installed: Insufficient Storage (APK) · On 52runoob — Android Other Storage Eating Half the Phone

Step 2: Separate 505 From 504 by What the Dialog Says

Step 3: Look for the Ghost Entry in Installed Apps

Open Settings, Apps, and search for the app's name. A ghost entry shows a size but no version, or shows a version with a disabled Open button. That entry is the leftover the installer is colliding with, and it exists because a previous install or uninstall did not finish. Note its exact name before you remove anything.

Reference: Android Help — Find, open and close apps on Android · Related guide: Android Phone Slow With Only 2GB or 3GB of RAM · On 52runoob — Speed Up a Slow Phone

Step 3: Look for the Ghost Entry in Installed Apps

Step 4: Uninstall for Every User, Not Just Your Own

A phone with a work profile or a second user keeps a separate copy of every app. Removing the app from your own profile leaves the other copy holding the permission registration, and the next install hits 505 again. Check Settings, Accounts, and any work profile before you conclude the uninstall worked.

Reference: Android Help — Add or remove an account on Android · Related guide: Android Phone Slow When Internal Storage Is Nearly Full · On 52runoob — Android Phone Slow While Google Photos Is Backing Up

Step 4: Uninstall for Every User, Not Just Your Own

Step 5: Clear the Store and Services Cache in One Pass

The store caches the package manifest it fetched, including the permission list. When that cached manifest is stale, the installer compares it against the registered permissions and refuses. Clearing both caches in one visit, then rebooting once, removes that comparison from the equation without touching your account.

Reference: Google Play Help — Fix problems downloading apps with basic troubleshooting steps · Related guide: Phone Slow Because the Cache Partition Is Full · On 52runoob — Google Play Store High CPU and Slow App Updates

Step 5: Clear the Store and Services Cache in One Pass

Step 6: Check Free Space Against Twice the APK Size

An install needs room for the package, room for the extracted result, and room for the odex files the runtime generates. When any of those runs out, the install aborts and the device may leave the record behind, which is exactly how 504 later turns into 505. Free space is the cheapest thing to rule out.

Reference: Android Help — Free up storage on your Android device · Related guide: Free Up Storage on Your Phone · On 52runoob — Cannot Take Photo: Not Enough Storage

Step 6: Check Free Space Against Twice the APK Size

Step 7: Understand the Split APK Problem

Modern apps install as a base package plus split packages for architecture and screen density. A sideloaded single APK from a mirror lacks those splits, and installing it over a store build produces 505 because the signature and the split set do not match. This is the most common way people create the error while trying to fix it.

Reference: Android Developers — Build multiple APKs · Related guide: App Not Installed: Insufficient Storage (APK) · On 52runoob — How to Update Device Drivers Safely

Step 7: Understand the Split APK Problem
Section 2

Method 2 of 2: Remove the Leftover Package for Good

Step 8: Remove the Package by Its Name With ADB

When the Settings screen will not let you uninstall a ghost entry, the package manager still will. This is the reliable fix for 505: ask the device to remove the package for all users by its exact package name, then install again from the store. Enable USB debugging first, and use the name you noted earlier.

Reference: Android Developers — Android Debug Bridge (adb) · Related guide: Phone Slow Because the Cache Partition Is Full · On 52runoob — Update Device Drivers Safely

Step 8: Remove the Package by Its Name With ADB

Step 9: Clear Package Installer and Package Access Helper

Two system components own the install transaction: the package installer and the package access helper. A helper stuck mid-transaction keeps returning the same conflict. Clearing their storage resets that state and costs nothing, because neither holds user data. Show system apps first, or you will not find them in the list.

Reference: Android Developers — Package visibility filtering · Related guide: Android System WebView High CPU and Laggy Apps · On 52runoob — How to Boot Windows 11 in Safe Mode

Step 9: Clear Package Installer and Package Access Helper

Step 10: Reinstall From the Store, Never From a Mirror

A package installed from an APK mirror carries a different signing certificate from the store build. Installing the store version over it fails the certificate check, and Play reports 505. Once the leftover is gone, install only from the store so the signature and the split set come from one source. This is also the only version that will keep updating.

Reference: Google Play Help — Reinstall and re-enable apps · Related guide: Google Play Error DF-DFERH-01 · On 52runoob — Update Device Drivers Safely

Step 10: Reinstall From the Store, Never From a Mirror

Step 11: Check Whether the App Is Still Available for This Device

An app that the developer has restricted by country, by device model or by Android version cannot be installed at all, and the store sometimes reports the refusal as 504 rather than a clean "not available". Confirm the listing opens on another device before you spend more time on the phone. This check costs a minute and rules out the whole class.

Reference: Google Play Help — Learn about third-party app stores · Related guide: Google Play Error DF-DFERH-01 · On 52runoob — Cannot Connect to the App Store

Step 11: Check Whether the App Is Still Available for This Device

Step 12: Sync the Library Back to the Account

After a batch of uninstalls and cache clears, the account's library can disagree with what the device reports, and fresh installs fail while updates work. Signing in again and letting the library sync rebuilds the mapping. On a Pixel this is a single toggle; elsewhere, removing and re-adding the account does the same job.

Reference: Pixel Phone Help — Sync your apps with your Google Account · Related guide: Google Play Services Battery Drain on Android 15 · On 52runoob — Google Play Store High CPU and Slow App Updates

Step 12: Sync the Library Back to the Account

Step 13: Confirm the Device Is Certified and the Firmware Is Stock

An uncertified device cannot install protected apps, and the failure often surfaces as 504. This is common on imported phones and on any device running a custom ROM. Check Play Protect certification before you consider a repair, because no amount of cache clearing changes it.

Reference: Google Play Help — Check and fix Play Protect certification status · Related guide: Google Play Error 927 and 941 When Apps Will Not Update · On 52runoob — Android Phone Slow Immediately After a Major OS Update

Step 13: Confirm the Device Is Certified and the Firmware Is Stock
Section 3

Method 1 of 2: Identify the Conflict the Installer Sees

Step 14: Test With One Small App to Prove the Fix

Install a small free app you have never used. When that succeeds, the conflict is cleared and the original app will install. When it fails the same way, the problem is at the account or firmware level rather than with one package, and the escalation below is the right next move.

Reference: Google Play Help — Fix problems downloading one app · Related guide: Google Play Error Code 495 · On 52runoob — Speed Up a Slow Phone

Step 14: Test With One Small App to Prove the Fix
Section 4

Method 2 of 2: Remove the Leftover Package for Good

Step 15: Escalate to a Reset Only After the Package Is Clean

A factory reset removes every package record at once, which is why it fixes 505 reliably. It is also irreversible for anything the store cannot restore, so it belongs after the package-level steps, not before them. Back up photos and messages first, and expect to sign in to every app again.

Reference: Android Help — Reset your Android device to factory settings · Related guide: Android Phone Still Slow After a Factory Reset · On 52runoob — Free Up Storage on Your Phone

Step 15: Escalate to a Reset Only After the Package Is Clean

Tips

  • 505 fails at the install stage, so the download already succeeded.
  • 504 usually follows an uninstall that never finished, leaving a package record behind.
  • A ghost entry shows a size but no version in Settings, Apps.
  • Every user profile registers permissions separately, including a work profile.
  • A single APK from a mirror has a different certificate from the store build and cannot install over it.

Warnings

  • Enabling USB debugging gives a connected computer broad control of the phone. Turn it off again when you are done.
  • Never install a system-level package from an APK mirror to work around 505. Signature mismatches at that level can leave the phone unbootable.
  • A factory reset removes app data the store cannot restore, so back up photos and messages first.
  • Do not clear storage on Google Play services unless you accept that sign-in state across Google apps resets.

Frequently asked questions

What does error 505 actually mean?

It means Play reached the install stage and found a conflicting package or permission registration. The download already succeeded, so the cause is on the device, not on the network.

Why did this start after I uninstalled the app?

The uninstall removed the files but not the package record, usually because the app was open or a second user profile still had it. The record is what blocks the reinstall.

Is 504 the same as 505?

They report the same class of collision at different points. 504 gives no detail; 505 names the install stage. The fix is the same: remove the leftover record.

Do I need a computer for this?

Usually not. Settings removes most ghost entries. A computer with adb is only needed when the entry is present but the Uninstall button is unavailable.

References

  1. Google Play Help — Fix problems with the Google Play Store app. https://support.google.com/googleplay/answer/14121800
  2. Google Play Help — Fix problems downloading apps with basic troubleshooting steps. https://support.google.com/googleplay/answer/14122894
  3. Google Play Help — Reinstall and re-enable apps. https://support.google.com/googleplay/answer/113410
  4. Google Play Help — Fix an installed Android app that isn't working. https://support.google.com/googleplay/answer/2668665
  5. Android Help — Free up storage on your Android device. https://support.google.com/android/answer/7431795
  6. Android Developers — Android Debug Bridge (adb). https://developer.android.com/tools/adb

Every guide is reviewed against its sources. See our editorial policy.

Reader comments

0 so far

Finished this guide? Tell other readers what worked, what didn't, and what you would change.

Be kind and constructive. Comments are published instantly.