Comments (3)
AIUI, the benefit is speed. ARM on x86 requires CPU-level emulation, which is possible, but not as fast as native x86. Given that the vast majority of Android developers will also be x86 users on the desktop, I wouldn't want to make x86 development unworkably slow (or unreliable) for the sake of making our builds marginally faster.
I think there is also a historical use case for x86/x86_64 builds for Intel Atom hardware, but don't think either of the users of those devices are also Briefcase users 😝
See also beeware/briefcase#808 for a request for configuring the ABIs that are built by default.
from briefcase-android-gradle-template.
Given that the vast majority of Android developers will also be x86 users on the desktop, I wouldn't want to make x86 development unworkably slow (or unreliable) for the sake of making our builds marginally faster.
In the Android PR I linked, they do call out speed considerations in that they explicitly optimized the system images to run everything except for the ARM binaries using native x86. So, while I haven't really stressed it, the slowdown should not be nearly as remarkable as full ARM emulation is. And furthermore, if none of the packages contain binaries, then nothing should be emulated.
Additionally, there is also the space consideration I didn't mention; I've noticed that when users hit the space limits, removing x86 can be a solution.
from briefcase-android-gradle-template.
That page only mentions Android 11, while our minimum is currently Android 6. So unless they've backported this feature, we won't be able to rely on it yet.
For the space consideration, we could remove armeabi-v7a by default, as long as there's an easy way to put it back (beeware/briefcase#808).
from briefcase-android-gradle-template.
Related Issues (18)
- Use the user's icons HOT 1
- Handle bundles with dashes in the name HOT 1
- Use separate locations for `app` and `app_packages` HOT 3
- Android build fails on 32 bit machine HOT 1
- (app-name) keeps stopping HOT 1
- `Template does not support 3.9` each time creating android project HOT 2
- Gradle template incompatible with Kotlin 1.5.0 HOT 1
- android Could not determine the dependencies of task app:mergeDebugNativeLibs HOT 5
- Can't download `Python support package for Android` HOT 1
- Apps installed from Google Play using AAB format crash on start HOT 2
- Template Does Not Support 3.10 HOT 3
- Add a splash screen HOT 1
- APK can still be installed on x86 emulators, but crashes HOT 2
- Extend LD_LIBRARY_PATH, rather than overwriting it HOT 2
- how in beware One can access the phone contacts of all their names and phone numbers and call them at the press of a button HOT 3
- When unpacking ZIP files, if the file hasn't changed, and it seems unpacked, don't unpack it HOT 2
- androidx.fragment:fragment version warning from Google Play HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from briefcase-android-gradle-template.