Difference between make and build in Android Studio

本文详细解释了在IDE中不同构建选项的作用,包括MakeProject、Compile、MakeModule与RebuildProject的区别。介绍了何时使用这些选项以及它们的具体功能。

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.

(大部分时间应该使用Make Project,, 在新增库或者有大的修改的时候才使用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.

(如果你去看菜单,你会发现,Make Project 和Compile 有快捷键,也就是这两个是被建议经常用,其他的应该 不常用)

 

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.

(范围内的所有 源文件都会被编译, 范围也许是个File Package 等)

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.

(Project 内所有源文件,本次有修改的文件 都会被编译)

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.

(Module 内所有源文件,本次有修改的文件 都会被编译)

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

Copied from IntelliJ Idea 13 help.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值