Sunday, 25 October 2020

android bundle size much bigger than in universal apk

When I built universal apk it size was 170mb. After I implemented extension files (due to the large asset folder) I have to build bundles. But the bundle size is much bigger - 283mb. Uppon unzipping aab file I see, that just lib folder weights 150mb. And includes extra architectures which are not present in config (like mips)

  splits {
    abi {
      enable true
      reset()
      include 'x86', 'armeabi-v7a', 'arm64-v8a'
      universalApk false
    }
  }

Thre is split of folder sizes, where libraries ar emostly c++ libs.

enter image description here What can be done to mitigate such increase as playmarket only accept bundle with 150mb and lower (not including asset-delivery size)



from android bundle size much bigger than in universal apk

No comments:

Post a Comment