删除 Android Studio 中的 .gradle 文件夹是否安全? [英] Is it safe to delete the .gradle folder in Android Studio?

查看:46
本文介绍了删除 Android Studio 中的 .gradle 文件夹是否安全?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个正在处理的旧项目,我注意到 .gradle 文件夹对于我过去更改的每个 gradle 发行版都有太多子文件夹,删除旧版本子文件夹是否安全?

I have an old project that am working at, I noticed that the .gradle folder has too many subfolders for each distribution of gradle I've changed in the past, is it safe to delete the old versions subfolders?

推荐答案

在项目里面你可以找到 .gradle 文件夹.

Inside the project you can find the .gradle folder.

在里面你可以找到 gradle 用来构建项目的所有设置和其他文件.您可以毫无问题地删除这些文件.Gradle 会重新创建它.

Inside you can find all settings and other files used by gradle to build the project. You can delete these files without problems. Gradle will recreate it.

此外,这些文件未提交和版本控制系统.这意味着当您签出项目时,项目中不存在这些文件.

Also these file are not committed and Version Control Systems. It means that when you checkout the project these files are not present on the project.

这篇关于删除 Android Studio 中的 .gradle 文件夹是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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