Closed TuupleMasterAndroid closed 1 year ago
Same here. Before the apk was 44 MB and now it is 126 mb
yes same issue
Folks, Android
documentation explains how apk size can be decreased in different pages. Please have a look at them.
https://developer.android.com/topic/performance/reduce-apk-size https://developer.android.com/studio/build/configure-apk-splits
With regard to ffmpeg-kit
, we have the How to Decrease Binary Size guide in the wiki.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
https://developer.android.com/topic/performance/reduce-apk-size
After implementing two optimizations, the size of the APK has been significantly reduced:
1) Set the useLegacyPackaging to true in the App's build.gradle file. 2) Removed ARMv7 support, now only supporting ARM64.
packagingOptions {
jniLibs {
useLegacyPackaging true
}
}
defaultConfig {
ndk {
abiFilters "arm64-v8a"
}
}
here Application size increase because ffmpeg_kit_flutter package require higher minsdkversion in your build.gradle which at the end result in higher build and release app size.
@Gautamjaiswal22 I believe you must go to Google then. They decide what minsdkversion puts into an apk not us.
I am creating audio enhance app in flutter only increase the level of the sound. I put ffmpeg_kit_flutter: version in pubspec.yaml file. I have firebase, riverpod, path_provider, file_picker, just_audio in my project. When I add ffmpeg_kit_flutter: ^5.1.0 size of the increase. Before add ffmpeg_kit_flutter app apk size is 70,899 KB but after adding size is 1,41,662 KB.