`
gybin
  • 浏览: 263700 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Difference between make and build in Android Studio

 
阅读更多

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.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics