Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to reduce size of apk ? #36

Open
gulabsagevadiya opened this issue Apr 13, 2022 · 9 comments
Open

How to reduce size of apk ? #36

gulabsagevadiya opened this issue Apr 13, 2022 · 9 comments

Comments

@gulabsagevadiya
Copy link

While using this lib app size becomes so huge like 117 MB
I just need audio compressor for my project
is there any solution to achieve this?

@AshvinVavaliya
Copy link
Collaborator

You can take the fork and you can easily use your update.

@gulabsagevadiya
Copy link
Author

I know how to do fork and all things @AshvinVavaliya
I am asking help for reduce library size which used in this project.

@DoozyDoz
Copy link

@gulabsagevadiya did you solve this?

@DoozyDoz
Copy link

The Apk size is huge (118 MBs) even in the official release which means its an issue that cuts across

@gulabsagevadiya
Copy link
Author

I have used different lib with Android bundle app become 20 mb size after that. Bundle is main part of that. If you build apk then it will become 120 mb but in bundle download size will be 20 mb

@DoozyDoz
Copy link

20mbs is still too much on my side, I found a solution that uses the android built in MediaMuxer, its quite fast and lightweight (apk size is now 2.2 MBs) but it cannot work on video package type files (MKV, AVI).
I shall try to compile an FFMpeg for only my functionality and get back

@gulabsagevadiya
Copy link
Author

Can you share a little more information about what you have used and some reference for that code? because I need an only the audio part and a more specific audio compressor only

@DoozyDoz
Copy link

This is the class I was talking about but follow this SO Thread too

@surbhiAppentus
Copy link

APK size increases upto around 100 mb after using this library. I am using it to add image overlay on video. Does anyone found any solution? How to reduce APK size?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants