flutter_vlc_player icon indicating copy to clipboard operation
flutter_vlc_player copied to clipboard

Significant Increase in Application Size with flutter_vlc_player Integration

Open istiaksaif opened this issue 1 year ago • 1 comments

When integrating the flutter_vlc_player package into a Flutter project, the application size increases substantially. For example, the APK size grows from approximately 30 MB to 207 MB after adding this package. This significant size increase may not be ideal for many developers aiming to keep their app lightweight.

Could you provide insights into the cause of this size increase? Additionally, are there any optimizations or steps that can be taken to reduce the impact of flutter_vlc_player on the overall app size?

Details:

  • Flutter version: 3.24.5
  • flutter_vlc_player: ^7.4.2
  • Target platform: [Android/iOS]
  • Build configuration: [Release]

Thank you!

istiaksaif avatar Nov 24 '24 05:11 istiaksaif

By default apk contains runtime libs for x86,x64,arm32 and arm64. If you target only arm64 (or x64 in case of an emulator) your apk size will be back to normal + ~20mb

SupinePandora43 avatar Jan 23 '25 00:01 SupinePandora43