Invalidate Caches/Restart在Android Studio中做什么? [英] What does the Invalidate Caches/Restart do in Android Studio?

查看:955
本文介绍了Invalidate Caches/Restart在Android Studio中做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到许多答案,建议应该使用无效的缓存/重新启动以提高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.

这篇关于Invalidate Caches/Restart在Android Studio中做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆