SingleArtifact.APK_FROM_BUNDLE

Added in 7.4.0

@Incubating
object SingleArtifact.APK_FROM_BUNDLE : SingleArtifact, Artifact.Transformable


Universal APK that contains assets for all screen densities. It is not optimized for particular phone and is much bigger than regular APKs. Build creates a bundle file first and then generates Universal APK from it.

It's not efficient to use APK_FROM_BUNDLE because of size and because it creates a Bundle (.aab) file first and finally extracts the APK from it. These steps will slow your build flow. Thus, unless your intent is to check the universal APK as produced from a .aab file, prefer APK.

Summary

Inherited functions

From com.android.build.api.artifact.Artifact
open String
String

Provide a unique name for the artifact type.

From com.android.build.api.artifact.SingleArtifact