Skip to content Skip to sidebar Skip to footer

How To Include A Android Native Extension (.so) Into An Air Native Extension (.ane)?

I'm currently trying to find a solution to have an AIR native extension including a C - library for Android that is using JNI. So far, I tried to pack the .so lib into a jar, which

Solution 1:

It becomes a bad habit of me to answer my own questions, but anyway...

Sometimes the docs can help. Here in the adobe docs I finally found the solution.

Simply copying the .so to the libs/armeabi-v7a folder in my ane package directory includes the lib into the ane, so I can use the .so from inside the java code of my extension.

Sorry for bothering.

Post a Comment for "How To Include A Android Native Extension (.so) Into An Air Native Extension (.ane)?"