什么是"增量敏捷"在机器人工作室的选择呢?增量、机器人、敏捷、工作室

2023-09-06 01:38:16 作者:#什么什么东西

在Android的工作室,当您选择在项目结构窗口中的模块,在属性选项卡中有一个选项设置增量敏捷为真或假。究竟是什么做的,而当它应该被使用?

In Android Studio, when you select a module in Project Structure window, under Properties tab there is an option to set "Incremental Dex" to true or false. What exactly does it do, and when should it be used?

推荐答案

这是一个类似增量构建,其中仅如果输入文件已被修改,建立重新构建它的输出。它以减少建造时间是很有用的。

It is similar to incremental build, which re-builds its outputs by only building if an input file has been modified. It is useful to reduce the build time.

仅修改模块的DEX文件被重新计算,并重新包装成APK文件 从https://developer.android.com/tools/building/multidex.html

"only the dex files of modified modules are recomputed and repackaged into the APK file" taken from https://developer.android.com/tools/building/multidex.html