Skip to content

Add option to configure Android ABIs #808

@mhsmith

Description

@mhsmith

Generated APKs and AABs currently include the following ABIs:

  • armeabi-v7a
  • arm64-v8a
  • x86_64

We can't drop armeabi-v7a yet, because there are still too many 32-bit devices in use (see chaquo/chaquopy#709). However, we were OK to drop 32-bit x86 because we set our minimum API level to 26 (beeware/briefcase-android-gradle-template#49), and 64-bit emulator images have been available since level 21. Since BeeWare developers will need to use a 64-bit emulator image anyway to test on the current version of Android, requiring them to do the same on the other versions is no great inconvenience. And omitting x86 reduces the APK size and makes it faster to build and install.

Anyway, there are legitimate reasons for developers to want to change the set of available ABIs, so we should make this configurable in pyproject.toml. See beeware/briefcase-android-gradle-template#52 (comment) for discussion of possible approaches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidThe issue relates to Android mobile support.enhancementNew features, or improvements to existing features.good first issueIs this your first time contributing? This could be a good place to start!
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions