GithubHelp home page GithubHelp logo

Comments (6)

elizarov avatar elizarov commented on July 20, 2024 1

The decision is that we introduce a separate AR variant and leave BOTH working as it is now.

from kotlinx-atomicfu.

elizarov avatar elizarov commented on July 20, 2024 1

(On hold for now, until we figure out how to reproduce original problem)

from kotlinx-atomicfu.

xBlackCat avatar xBlackCat commented on July 20, 2024

Any updates for the two-years-old issue?

from kotlinx-atomicfu.

qwwdfsad avatar qwwdfsad commented on July 20, 2024

It's unlikely we are going to implement regular atomics transformation. The number of "bugged" devices in use is reducing each year and without them, such change has no benefits, only maintenance burden.

Additionally, we have to investigate the current state of Android multi-release JAR support

from kotlinx-atomicfu.

JakeWharton avatar JakeWharton commented on July 20, 2024

The Android toolchain currently ignores MR jar classes as of sometime in the AGP 3.x series (~2-3 years ago).

from kotlinx-atomicfu.

elizarov avatar elizarov commented on July 20, 2024

MR jars allow use to use BOTH strategy by default:

  • FU variant by for Androind and JDK <= 8
  • VH variant for JDK >= 9

However, I don't immeditely see how it helps with AR (Updater-less) transformation variant. Let's brainstorm. Is it somehow possible via ProGuard/R8 to ask for a class file replacement under specific circumstances (e.g for a specific range of min API versions). If that were possible, then we could implement AR variant, package these classes into some "normally hidden" place and ask Android toolchain to use them instead of FU variants when building DEX.

from kotlinx-atomicfu.

Related Issues (20)

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.