a914-gowtham / android-video-trimmer

Helps to trim local videos with compress option on Android applications using Exoplayer 2 and FFmpeg.
Other
362 stars 115 forks source link

app size is 45 MB #87

Open VIVEKCODEXP opened 1 year ago

VIVEKCODEXP commented 1 year ago

I just tried your library in my KOTLIN app and everything works perfectly fine as mentioned in the github documentation but the app size after build comes out 45MB . I even tried running the progaurd in realese mode and I can still get 35 MB of size. I check your demo app in google playstore and it is 6MB only but how is my app's size shooting to 45 MB . It only contains those codes mentioned in your document .And If I remove the TRIMVIDEO class library ,the app size reduces to 5 MB but once I include this call the app size shoots up to 45 MB . What can be the problem ? WhatsApp Image 2022-09-01 at 5 47 59 PM

ajosecueto commented 1 year ago

Hello, It's because you have to compile an app bundle instead an apk. If you look the folder each platform 6 ~ 8 mb. if you want an apk you have to build with split-per-abi