Android Studio 中的 Invalidate Caches/Restart 有什么作用? [英] What does the Invalidate Caches/Restart do in Android Studio?
问题描述
我看到很多答案都表明应该 Invalid Caches/Restart 以提高 Android Studio 的性能,无论是内存还是 CPU.它还可以用于设置正确的主题.我想知道它实际上做了什么,因为它似乎可以解决很多问题.
I have seen many answers suggest that one should Invalid Caches/Restart in order to improve the performance of Android Studio, whether it's memory or CPU. 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 将大量文件作为缓存并且不会删除它们.这可能会在需要制作新文件时造成麻烦,因此清除缓存将清除旧缓存并使 Android Studio 更快.
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 caches will clear the old cache and make Android Studio faster.
这篇关于Android Studio 中的 Invalidate Caches/Restart 有什么作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!