Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Can this be built in any other version than Aarch64? #44

Closed
zikalify opened this issue Jul 7, 2018 · 1 comment
Closed

Can this be built in any other version than Aarch64? #44

zikalify opened this issue Jul 7, 2018 · 1 comment

Comments

@zikalify
Copy link

zikalify commented Jul 7, 2018

Tried building this software and I got 'app-beta-aarch64-debug.apk' in the 'fenix>app>build>outputs>apk>betaAarch64>debug' but it fails to install on my Spreadtrum and Mediatek phones as well as Anbox, is there something I can do to get it to run? Thanks.

┆Issue is synchronized with this Jira Task

@zikalify
Copy link
Author

zikalify commented Jul 7, 2018

I fixed it by adding the following to the build.gradle:

splits {

        // Configures multiple APKs based on ABI.
        abi {

            // Enables building multiple APKs per ABI.
            enable true

            // By default all ABIs are included, so use reset() and include to specify that we only
            // want APKs for x86 and x86_64.

            // Resets the list of ABIs that Gradle should create APKs for to none.
            reset()

            // Specifies a list of ABIs that Gradle should create APKs for.
            include "armeabi-v7a", "arm64-v8a"

            // Specifies that we do not want to also generate a universal APK that includes all ABIs.
            universalApk false
        }
    }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant