TechBuzzPro

Where Are Android Apps Stored? Locations Explained

· 5 min read · Phones & Tablets

In this article
  1. What You’ll Need
  2. Step‑By‑Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Android apps are stored as APK files in the /data/app directory for user‑installed apps and in /system/app or /system/priv-app for pre‑installed system apps.

What You’ll Need

  • A computer with ADB (Android Debug Bridge) installed – optional but useful for non‑rooted devices.
  • USB cable to connect your phone to the computer.
  • Developer Options enabled on the phone (Settings > About phone > Tap Build number seven times).
  • A file‑manager app (e.g., Files by Google) if you have root access, or a PC for ADB commands.

Step‑By‑Step

  1. Open Settings on your Android device.
  2. Navigate to Apps & notifications (the exact wording may vary by manufacturer or Android version).
  3. Tap See all apps to list every installed package.
  4. Select the app whose storage location you want to investigate.
  5. Inside the app’s info screen, choose Storage & cache. You will see two sections: App size and Cache size. This screen does not reveal the file path, but it confirms that the app resides in the internal storage area reserved for apps.
  6. If you need the exact path and your device is not rooted, connect it to a computer with ADB installed.
    1. On the phone, go to Settings > System > Developer options and enable USB debugging.
    2. Open a terminal or command prompt on the computer and run adb devices to verify the connection.
    3. Execute adb shell pm list packages -f. This command prints lines like package:/data/app/com.example.app-1/base.apk=com.example.app. The part before the equal sign is the exact location of the APK file.
  7. If your device is rooted, you can view the directories directly:
    1. Open your preferred root‑enabled file manager.
    2. Navigate to /data/app – each sub‑folder corresponds to a user‑installed app and contains its base.apk.
    3. System apps are located under /system/app (for regular system apps) or /system/priv-app (for privileged system apps).
  8. To verify that an APK belongs to a particular package, compare the folder name (e.g., com.example.app-1) with the package name shown in the app info screen (Settings > Apps > App name > Advanced > Package name).
  9. When you are finished, you can safely disconnect the device. No changes are made to the system by simply viewing these paths.

Common Mistakes

  • Looking for apps in the user‑visible “Downloads” folder. APK files are not stored there unless you manually saved an installer.
  • Assuming the path shown by ADB is writable. The /data/app directory is read‑only for normal users; attempting to modify it without root will fail.
  • Confusing the cache directory with the APK location. /data/data/<package>/cache holds temporary data, not the app binary.
  • Using a non‑root file manager to browse /data/app. Without root, the file manager will report “Permission denied.”

Tips

  • Use the adb shell pm path <package_name> command for a single‑app lookup; it returns only the path for that package.
  • If you need to extract an APK for backup, the adb pull command can copy the file from /data/app to your computer (requires root or a device that allows read‑only access via ADB).
  • On Android 11 and later, the /system partition is mounted as read‑only, so even rooted users cannot modify system apps without using a custom recovery.
  • When troubleshooting storage issues, check both the APK location (/data/app) and the data directory (/data/data/<package>) because user data can consume far more space than the APK itself.

Troubleshooting

If the steps above do not produce the expected results, try the following sequence:

  1. Restart both the phone and the computer. A fresh ADB connection often resolves “device not found” errors.
  2. Verify that USB debugging is still enabled. Some devices automatically disable it after a reboot.
  3. Update ADB to the latest platform‑tools version. Older versions may misinterpret newer Android security flags.
  4. Check the USB mode. Ensure the phone is set to “File Transfer (MTP)” rather than “Charging only.”
  5. Run adb devices again. If the device appears as “unauthorized,” confirm the prompt on the phone and tap “Allow.”
  6. If you still cannot see /data/app entries, the device may be running a restricted profile or a work profile that hides certain packages. Switch to the primary user profile and repeat.
  7. For rooted file‑manager attempts, double‑check that the root manager (e.g., Magisk) is properly granted superuser permissions for the file‑manager app.
  8. As a last resort, you can perform a factory reset, but be aware that this erases all user data and apps. Backup important files before proceeding.

Frequently Asked Questions

Can I see the APK files without rooting?

Yes, using ADB you can list the paths and even pull the APKs, but you cannot browse the /data/app folder directly on the device without root.

Where are app updates stored?

Updates replace the original APK in the same /data/app folder, keeping the same package directory name but updating the base.apk file.

Do system apps use the same directory as user apps?

No. System apps live in /system/app or /system/priv-app, while apps you install from the Play Store reside in /data/app.

Can I move an app’s APK to external storage?

Android no longer supports moving the core APK to an SD card. Only the app’s data (cache, files) can be relocated via the “Storage” settings.

Why does my device show “App not installed” when I try to sideload an APK?

The most common cause is a conflict with an existing package name. Uninstall the previous version or use a different package identifier.

Is it safe to delete files from /data/app?

Deleting files from /data/app without proper knowledge can corrupt the app and cause system instability. Only modify this directory on a rooted device and after backing up the original APK.