-
-
Notifications
You must be signed in to change notification settings - Fork 396
Add option to configure Android ABIs #808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Other open issues that may involve updating the Android template: |
+1. Flagging this as "first timers" because the actual change isn't especially complex:
For example, a project configuration of:
would result in a build.gradle file that contains:
However, if the user doesn't specify |
The above comment is valid for the current Rubicon template. After we switch to Chaquopy, the |
This can now be done using the
|
@mhsmith I'm not sure we can close this. Selecting target platforms isn't an especially common use case, but it's high on the list of "optional things people are may want to do to their project". An explicit setting for this means we're protected from any format changes that Gradle introduces into the configuration file format, as we're capturing a "first order" user configuration. At the very least, it's worth capturing as documentation (possibly as a section in the docs on briefcase_gradle_extra_content capturing "common use cases" (along with the |
Generated APKs and AABs currently include the following ABIs:
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.
The text was updated successfully, but these errors were encountered: