Giter Club home page Giter Club logo

Comments (6)

PureWeen avatar PureWeen commented on May 17, 2024

@mattleibow @Redth ?

from androidx.

mattleibow avatar mattleibow commented on May 17, 2024

This might be a question for the Android team. The assemblies are still used, but the linker should remove them as there are no references between the app and the support assembly.

I believe in Debug mode, they would still be there, but the fact that they are there in Release might mean that either there IS still a reference and that is a migration issue, or the linker is removing things, but keeping the assembly for some reason.

We will have a look.

from androidx.

MitchBomcanhao avatar MitchBomcanhao commented on May 17, 2024

ok, small update on this after getting forms 4.5.0 and essentials 1.5.0

I've replaced all the specific android support references I could find in the code and rebuilt.
The lib folder now has a lot less android support files, but the ones it does have are much larger than before. example sizes for arm 32 bit build:

  • Xamarin.Android.Support.Annotations.dll.so - 7KB > 69KB
  • Xamarin.Android.Support.Compat.dll.so - 8KB > 637KB
  • Xamarin.Android.Support.Core.Utils.dll.so - 7KB > 50KB

Maybe we're still missing some specific references to androidx packages that replace these?

from androidx.

MitchBomcanhao avatar MitchBomcanhao commented on May 17, 2024

Those remaining support references might be dependencies from James Montemagno's Media Plugin.

from androidx.

moljac avatar moljac commented on May 17, 2024

Those remaining support references might be dependencies from James Montemagno's Media Plugin.

Most likely.

Xamarin.Android.Support.Core.Utils depends on:

  • Xamarin.Android.Support.Annotations (= 28.0.0.3)
  • Xamarin.Android.Support.Compat (= 28.0.0.3)

so this must be it.

Try removing Media plugin and see. And please provide feedback.

Ask lib developer to upgrade his plugin to AndroidX after that.

from androidx.

MitchBomcanhao avatar MitchBomcanhao commented on May 17, 2024

I've not tried removing the plugins but have updated them to their latest version (there's been some androidx updates), and the resulting build has not included android.support files. I think this issue can be closed.

from androidx.

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.