How to reduce MAUI Android Apk/bundle size in release mode

Satya 85 Reputation points

How to reduce MAUI Android Apk/bundle size in release mode.

Can any one please provide android project settings to reduce the Apk/bundle size in MAUI.

Thanks in advance

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,852 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,046 Reputation points Microsoft Vendor


    For more information on how to reduce the size of your app, you could refer to this official blog for best practices: App Size Improvements.

    At the same time, when release, you could disable AOT by modifying the configuration file to reduce the size of the app, but this will sacrifice some performance.

    Please refer to AOT Everything to get more details.

    Best Regards,

    Alec Liu.

    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful