Android 12 Developer Preview is here! Try it out, and give us your feedback!

DynamicFeatureBuildType

@Incubating interface DynamicFeatureBuildType : BuildType, DynamicFeatureVariantDimension
com.android.build.api.dsl.DynamicFeatureBuildType

Summary

Inherited functions

Properties

abstract Boolean?

Whether to crunch PNGs.

Inherited properties

Properties

isCrunchPngs

abstract var isCrunchPngs: Boolean?

Whether to crunch PNGs.

Setting this property to true reduces of PNG resources that are not already optimally compressed. However, this process increases build times.

PNG crunching is enabled by default in the release build type and disabled by default in the debug build type.