Giter Site home page Giter Site logo

Comments (3)

freakboy3742 avatar freakboy3742 commented on August 15, 2024

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.

rmartin16 avatar rmartin16 commented on August 15, 2024

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.

mhsmith avatar mhsmith commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.