-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
AAR with .a and .h #261
Comments
No is easy answer, internal bug is b/28395014 [the feature is not on priority though] Probably indirectly [tried with shared lib once a while ago], and I personally do not think it is worthwhile:
inside your app, make aar to be your dependent lib, so it will be extracted into exploded-aar folder; then the colorful picture appears:
traditional way of distributing lib and header files directly is still better, comparing to the above hacking. |
@ggfan thanks for your explanation! Unfortunately, distributing lib and header files directly is not an option for me. I have a rather complex structure of several libraries which depend on each other. So, managing all those by hand, especially if version of one changes and needs updating is terrible. It is bad that Android lacks native library management. On iOS one can manage by using cocoapods, but there is no similar thing for Android environment... Hope b/28395014 will be prioritized at some point... |
thank you @igagis, added your comment into internal issue and hope it will be addressed |
is your application + library on github or somewhere, @igagis ? like to see how you solve your dependencies if you are building multiple native libs. |
@ggfan I didn't solve the problem, so I just do not do it right now on Android. |
ok, understood. are you saving your source on github? |
@ggfan yes, you can view all my repos in my github profile |
thanks! |
Adding @jomof |
@igagis: may you kindly send a summary about your intended usage of AAR for native distribution: you could use my email gfan@google.com, I will pass to Jomo & Kathryn ( not exposing their email by me here :-)). |
@ggfan ok, I have sent you an email |
@igagis: thank you very much! I will close this one from here and leave its normal channel for update if something happens |
I made a hacky solution to the problem, described here http://stackoverflow.com/a/43661627/1221106 |
Is it possible to create AAR containing prebuilt static library and header files?
The text was updated successfully, but these errors were encountered: