Xamarin Forms apk size is 80 MB

Cannot reduce xamarin apk size below 80 MB. I did the following: 1) enabled proguard
2) Configuration: Release 3) Platform: Active (Any CPU). 4) Enable Multi-Dex: true
5) Enable developer instrumentation (debugging and profiling): false 6) Linking: SDK and User Assemblies(Tried sdk assemblies only also) 7) Supported architectures: Selected all
Visual studio community 2017 version: 15.9.6
Need some help on this...

Best Answer

  • VipinKrishnaVipinKrishna ✭✭
    Accepted Answer

    Uninstalled some unwanted nugets; livexaml,gorilla,xlabs,modernhttpclient,aiformscollectionview,etc. reduced apk size to 21MB !!

Answers

  • JoeMankeJoeManke USMember ✭✭✭✭✭

    Check "Generate one package (.apk) per selected ABI" on the Android Options tab and see how big those individual APKs are.

  • VipinKrishnaVipinKrishna Member ✭✭
    Accepted Answer

    Uninstalled some unwanted nugets; livexaml,gorilla,xlabs,modernhttpclient,aiformscollectionview,etc. reduced apk size to 21MB !!

  • VipinKrishnaVipinKrishna Member ✭✭

    @JoeManke all individual apks were also 80 odd size. uninstalling unwanted nugetes worked for me

  • Is there any solution on the subject. I have that same problem

Sign In or Register to comment.