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

Add option to pack static libs to the same AAR #5

Closed
igagis opened this issue Jun 17, 2020 · 2 comments
Closed

Add option to pack static libs to the same AAR #5

igagis opened this issue Jun 17, 2020 · 2 comments

Comments

@igagis
Copy link

igagis commented Jun 17, 2020

Currently there is a bundleStatic = true option which packs static libs to a separate AAR package.

Need to add another option separateStaticAAR = false to indicate that the static libs must be added to the same main AAR package.

@howardpang
Copy link
Owner

There are some consideration for putting static libs to another AAR;First is that the user didn't know whether their link static lib or shared lib; The most import is that if put static lib and shared lib to the same AAR, if the user use static lib, the app will packet the shared lib to apk which is not necessary and it will increase apk size

@igagis
Copy link
Author

igagis commented Jun 18, 2020

ok, I haven't thought about that, it makes sense. Closing the issue. Thanks!

@igagis igagis closed this as completed Jun 18, 2020
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