化妆的区别,并建立在Android的工作室 [英] Difference between make and build in Android Studio

查看:109
本文介绍了化妆的区别,并建立在Android的工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android的工作室建立菜单中有选项,包括

The Android Studio Build menu has options including

Make Project
Rebuild Project

当我应该使用的呢?

推荐答案

大多数时候你应该使用时间请项目。有时,增加库和做出重大变更项目后,你应该使用重建项目

Most of the time you should use Make Project. Sometimes, after adding libraries and making big changes to the project you should use Rebuild Project.

如果你看一下菜单,你会看到请项目编译有键盘快捷键,这表明,他们经常被使用。其他人则很少使用。

If you look at the menu, you'll see that Make Project and Compile have keyboard shortcuts, that suggests that they are often used. Others are seldom used.

这是一样的IntelliJ IDEA。

It is the same as IntelliJ Idea.

编译所有在指定的范围内编译源文件。在这种情况下,该范围可以是文件,一个包,等等。

Compile All the source files in the specified scope are compiled. The scope in this case may be a file, a package, etc.

制作项目所有的已修改自上次编译编译整个项目的源文件。相关的源文件,如果合适的话,也被编译。此外,该任务依赖于编译或制作工艺上修改源进行。例如,EJB验证,如​​果相应的选项,在验证页面上启用执行。

Make Project All the source files in the entire project that have been modified since the last compilation are compiled. Dependent source files, if appropriate, are also compiled. Additionally, the tasks tied to the compilation or make process on modified sources are performed. For example, EJB validation is performed if the corresponding option is enabled on the Validation page.

使模块编译都是因为所选择的模块中的最后汇编,以及在所有模块它依赖于递归,已修改的源文件

Make Module Compiled are all the source files that have been modified since the last compilation in the selected module as well as in all the modules it depends on recursively.

重建项目项目中的所有源文件重新编译。这可能是必要的时候类路径条目已经改变,例如,软件开发工具包或库正在使用的添加,删除或修改

Rebuild Project All the source files in the project are recompiled. This may be necessary when the classpath entries have changed, for example, SDKs or libraries being used added, removed or altered

复制从的IntelliJ IDEA 13的帮助

这篇关于化妆的区别,并建立在Android的工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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