gpt4 book ai didi

android - 如何使用 Android dexOptions?

转载 作者:IT老高 更新时间:2023-10-28 23:05:28 27 4
gpt4 key购买 nike

dexOptions.incremental等是什么意思任何机构都可以向我解释。

dex options

android {
dexOptions {
incremental false
preDexLibraries = false
jumboMode = false
javaMaxHeapSize "2048M"
}
}
This affects all tasks using dex.

最佳答案

boolean incremental

Whether to enable the incremental mode for dx. This has many limitations and may not work. Use carefully.

String javaMaxHeapSize

Sets the -JXmx* value when calling dx. Format should follow the 1024M pattern.

boolean jumboMode

Enable jumbo mode in dx (--force-jumbo).

boolean preDexLibraries

Whether to pre-dex libraries. This can improve incremental builds, but clean builds may be slower.

这些可以在这里找到:
http://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.DexOptions.html

关于android - 如何使用 Android dexOptions?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28927255/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com