I have to create an SDK that will be easy to use, so I need it to be in a single jar file. Resources are problematic, but what about including ".so" files, which are libraries created by the NDK (usually placed in the "libs / armeabi" folder)?
Is it possible to add ".so" files to a jar file so that anyone using the jar SDK file should not add them to their libs folder in their project?
If so, how, and if not, is there a workaround?
To clarify: who uses the SDK, should use only one jar file, which will contain everything that is needed to use the SDK, including the ".so" files.
Please note that if I put the libs folder (and ".so" in it) into a project that uses the SDK, it works fine. The same thing happens if I use the SDK project as an Android project.
source
share