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

huge apk size? #46

Open
jasonz1987 opened this issue Jun 26, 2023 · 1 comment
Open

huge apk size? #46

jasonz1987 opened this issue Jun 26, 2023 · 1 comment

Comments

@jasonz1987
Copy link

i used this plugin in my app ,it works fine.

but my apk size become more bigger.

i found the libnode.so is mostly 40M for each arch.

ll lib/arm64-v8a
 39M	libnode.so

ll lib/x86_64
 39M	libnode.so

ll lib/libnode.so

46M libnode.so

so, is there have some suggestions for this ? tks very much~

@staltz
Copy link
Member

staltz commented Jun 26, 2023

Not much can be done, this is one of the drawbacks of using nodejs-mobile in your app, but you can for instance make one APK per arch, bringing the size down to ~50MB for each APK.

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

2 participants