在Android Studio中运行重建项目后会发生什么? [英] What happens after I run rebuild project in Android Studio?

查看:201
本文介绍了在Android Studio中运行重建项目后会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文档 http://www.jetbrains.com/idea/help/rebuilding-project.html?search=reb 仅告诉我如何重建项目.

The document http://www.jetbrains.com/idea/help/rebuilding-project.html?search=reb only tells me how to rebuild a project.

我不知道重建项目(Menu --> Build --> Rebuild Project)是什么意思,会清除所有编辑缓存吗?运行重建项目后,我发现项目的大小减小了吗?

I don't know what does it mean to rebuild a project (Menu --> Build --> Rebuild Project), will it clean all edit cache? I find the size of the project reduced after I run rebuild project?

在Android Studio中清除项目是什么意思?

What does it mean to clear a project in Android Studio?

推荐答案

在Android Studio中,构建菜单中的几乎每个声音都映射到了(可能是一个以上)gradle操作,其中Gradle是android的官方构建系统.特别是,当您清理项目时,您将从应用程序模块内的build文件夹中删除一些文件,并且当您选择rebuild时,这等效于进行gradle clean和build. 有关该主题的更多信息,我建议您参加有关Udacity的本课程,您可以免费观看.它教您gradle以及如何与android studio集成.

In Android Studio, almost every voice in the build menu is mapped to a (possibly more than one) gradle action, where Gradle is the official build system for android. In particular, when you clean the project you are deleting some files from the build folder inside your app module, and when you select rebuild that's the equivalent of doing a gradle clean and build. For more information on the topic I suggest this course on Udacity, which you can view for free. It teaches you gradle and how it integrates with android studio.

https://www.udacity.com/course/gradle-for-android-and-java--ud867

这篇关于在Android Studio中运行重建项目后会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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