Basically what we need to do is put your .so files inside a folder called lib (Note: these are not libs, and this is not an error). It must be in the same structure, it must be in the APK file.
Project:
| --lib:
| - | --armeabi:
| - | - | -. therefore files.
1) So, I created the lib folder and inside it the armeabi folder, where I inserted all the necessary .so files.
2) Then I pinned the folder to .zip (the structure inside the zip file is now lib / armeabi / *. So).
3) Then I renamed the .zip file to armeabi.jar.
4) And added the compilation line fileTree (dir: 'libs', include: '* .jar') depending on {} in the gradle assembly file.
Android Team
source share