Share via

Reduce app size

Bharghav 1 Reputation point
2022-08-04T10:01:29.727+00:00

Before adding third party solution into xamarin solution my app size is 45mb, after adding the third party solution into my xamarin solution my app size is increased nearly to 75mb. Tried optimising all the images and removed all unwanted packages still I don't see any drasticall reduce of my app.
Could anyone please help me out in reducing the app size
Thank you

Developer technologies | .NET | Xamarin
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-08-05T06:30:37.367+00:00

    Hello,​

    Could anyone please help me out in reducing the app size?

    Yes, Xamarin applications use a “linker” to reduce your app size. You can check this document: Linking on Android

    Link SDK assemblies only is your safest bet and should be your default as it will only attempt to strip things out of Xamarin.Android and any of your third-party libraries will not be touched.

    Here is a useful document about Application Package Size, before reducing app size, please check it.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.