App Shrinking in MAUI

Manickam, Suraj 320 Reputation points
2024-03-15T06:22:41.04+00:00

Currently the size of my android APK built using MAUI is 105 MB which includes external libraries as well , I read about the shrinking the size of APK but it did not work as expected,i was able to shrink apk built from Xamarin to around 69 MB , is there any way where we could achieve the same?

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-03-18T07:52:30.8566667+00:00

    Hello,

    For additional guidance on minimizing your app's size, consider consulting the official blog post App Size Improvements for optimal practices.

    Additionally, during release, you have the option to decrease app size by disabling AOT (Ahead-of-Time compilation) through configuration file adjustments. However, be aware that this may entail a trade-off in performance.

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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