How To Build Multiple APKs

Save

Generally, we build a single APK to support all your target devices whenever possible, that might result in a very large APK due to files needed to support multiple screen density and Application Binary Interface (ABIs). But we can create multiple apks file that contains files for specific density or ABIs.

Configure your build for multiple APKs

To configure your build for multiple APKs, add a splits block to your module-level build.gradle file. Within the splits block, provide a density block that specifies how Gradle should generate per-density APKs, or an abi block that specifies how Gradle should generate per-ABI APKs.

Configure multiple APKs for ABIs

To create separate APKs for different ABIs, add an abi block inside your  splits block. In your abi block, provide a list of desired ABIs.

Ref:->https://developer.android.com/studio/build/configure-apk-splits.html#configure-split

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

Excellent work, fast, good quality and understood the brief perfectly! Quick responses developing the project and very good cooperation. I suggest to anyone.

Stathis Plakidas

Stathis Plakidas

Talk to Sales

Global

Live Chat
Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home