Stay organized with collections
Save and categorize content based on your preferences.
SingleArtifact.APK_FROM_BUNDLE
@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
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-09-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-27 UTC."],[],[]]