'Linking native libraries Android Studio
Assume I have three Android modules:
- FooLib which contain native code for some math
- BarLib which contain native code for some crypto
- FooBarApp which contain native code for invoking the crypto operations
The challenge here is that BarLib depends on the FooLib implementation. However, I can't seem to figure out how to link these two, as the FooLib produces an AAR file and not a library file, hence I can't link them in my CMakeLists.
Of course, I could merge Foo and Bar, but I would really like to keep them separate, as I do in pure C applications.
Is there a way to link Foo and Bar?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
