Gadgets Gaming MMORPG MOBA Motorcycle News Photograph Science Strategy

Where do Android apps store data?

If you have noticed your Android device slowing down, it might be time to clear out your storage to speed things back up again. That could just be as simple as clearing your device’s app cache. But you’ll need to know where Android apps store data.

Once done, all the files that your apps have been adding to the storage are gone. Hopefully, that fixes the slowdown.

In a perfect system, the app cache should make all your apps faster to load, and faster to run. The reality is that many apps don’t use caching efficiently. This has the result of making your device slower as it contains more data than needed.

It could even be an issue after updating an app if enough structural changes happen to make the existing cache data obsolete.

So, how do you deal with this without factory resetting your device? Where does Android store its files Let’s find out.

So, where do Android apps store data?

Short answer: In the Data partition

Android takes a different take on storage compared to desktop operating systems. When you install an app (either from the Google Play Store or through a downloaded apk file), Android places that into the device’s app folder.

That’s /data/app/your_package_name for most apps. Some encrypted apps use /data/app-private/your_package_name.

This section of your device storage is also known as Shared Storage, as all your apps put their data here.

Image: theDroidLady

The thing is, giving apps access to the whole folder causes some issues. The first is that sometimes files generated stay in internal storage, even after uninstalling the app. The second is that it’s a security risk, as any app on the device can access that folder.

Google fixed this in Android 11, with a thing called Scoped Storage. The biggest change is that apps should now have all their generated files inside their own app directory.

That means no more cluttering up the Shared Storage folder. Now the system knows which files were created by individual apps, so there won’t be leftover files after uninstalling.

READ MORE: Where is the Trash folder on Android devices?

It also hides the Android/data and Android/OBB folders from other apps. This is good for your data privacy, although it has stopped some third-party file management tools from being able to manage your data.

How to clear app cache on Android

If you are ready to clear out your Android cache, we’ll walk you through the process. Most users only need to clear the app cache by doing the following:

  1. Open Settings
screenshot of android app drawer with settings app highlighted
Image: KnowTechie
  1. Then Storage > Apps
screenshot of android storage settings
Image: KnowTechie
  1. Then tapping on individual apps, then on Clear cache from the menu that opens
screenshot of android storage menu showing where to clear cache for an app
Image: KnowTechie

If your apps are misbehaving, such as crashing when opened, you might need to clear the data files as well. That’s on the same page, where it says Clear data. Doing this puts the app back into a freshly installed state.

That means it wipes all information on your device from that app. It also makes you sign back in again if it’s an app that uses a login.

Only do this if you’re sure that you have backups of any important documents that the app has created.

What do you think? Have you ever had any issues with clearing your Android app cache? Let us know down below in the comments or carry the discussion over to our Twitter or Facebook.

Editors’ Recommendations:

Maker, meme-r, and unabashed geek. Hardware guy here at KnowTechie, if it runs on electricity (or even if it doesn’t) I probably have one around here somewhere. My hobbies include photography, animation, and hoarding Reddit gold.