Henry Zhu Henry Zhu - 5 months ago 43
Android Question

What does the Invalidate Caches/Restart do in Android Studio?

I have seen many answers suggest that one should

Invalid Caches/Restart
in order to improve the performance of
Android Studio
, whether it's
. It also can be used to set up correct themes. I was wondering what it actually does though, since it seems to be the solution to so many problems.


Android Studio makes a lot of files as caches and does not delete them. This can cause trouble when there is a need to make new files, so clearing 'cacheswill clear the oldcache` and make it fast.