减少 Android Studio 项目大小 [英] Reduce Android Studio Project Size

查看:48
本文介绍了减少 Android Studio 项目大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想减小 Android Studio 项目大小以保存以备后用

I want to reduce Android Studio project size to save it for after use

在 MS Visual Studio 中,我们可以删除 *.ipch、*.sdf 和 Debug 文件以减小项目大小

In MS Visual Studio, we can delete *.ipch, *.sdf and Debug files to reduce the project size

我看到 app/build/intermediates 文件夹很大,我可以删除这个文件夹吗?

I see app/build/intermediates folder is really large, can I delete this folder?

推荐答案

是的,您可以安全地删除 intermediates 文件夹.您甚至可以删除包含 intermediates 的整个 build 文件夹.build 文件夹及其内容将在您下次运行/构建项目时重新生成.

Yes, you can safely delete the intermediates folder. You can even delete the whole build folder that contains intermediates. The build folder and it's contents will be re-generated the next time you run/build your project though.

这篇关于减少 Android Studio 项目大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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