I actually can't open the settings and desperately want to clear the cache of an app which is not working properly. When I open the settings app, it is forcefully closed down again and again.

How do I clear app cache/data on Android without accessing settings?

  • 2
    Do you have USB debugging enabled or root access? You can easily use pm clear PACKAGE using adb or clear the cache files using a file explorer if rooted.
    – Firelord
    Dec 21, 2015 at 21:12
  • Firelord, why not make this an answer. Feb 26, 2019 at 5:03

2 Answers 2


There are some apps that can do that. CCleaner is less intrusive but does not work well with some devices. You might want to try each.

Just in case you want a quick method to clear your app data, and do not want to install anything, you could try opening your "Recent apps" (you can access it by tapping one of the buttons on the bottom of your phone, and it shows a list of all the apps that are open). Then long-press the app which needs to have its data cleared, and select "App Info". This will take you directly to the settings page in which you can clear the app's data.


Use this command with adb:

adb shell pm trim-caches 128G

You don't need root to do this.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .