I would like to use C-code with LUA.
Therefore I’d like to build a plugin, which shall contain the library (built from the C-code) and a wrapper function as described in the Solar2D documentation.
I’ve built the library “libplugin.myLibrary.so” with Android Studio, which builds it for 4 architectures. The result are 4 libraries in a fixed directory structure like this:
- data
- arm64
- libplugin.myLibrary.so
- armeabi-v7a
- libplugin.myLibrary.so
- x86
- libplugin.myLibrary.so
- x86_64
- libplugin.myLibrary.so
- arm64
This directory structure is then packed into one data.tgz.
Where in the plugin do I have to put the data.tgz or the distinct libraries, so that the Solar2D build process puts them into the right place?