android - How do I package .so files into my .aar archive? -


i wondering if it's possible package native .so files .aar file? if so, .so files go , there references can read in regards this?

if put manually, should placed underneath

jni/<platform>/libexample.so 

where platform target cpu platform "armeabi", "x86" etc. typically have so-files multiple platforms there. if build source code using gradle put native source code

src/main/jni/ 

and build plugin rest. resulting so-files built automatically , placed belong to.

regarding references, i've seen been mentioned somewhere on site dedicated android build plugin gradle. since wasn't able find page again. can check out plugin's source code more details.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -