I am developing an extension and I need to add the / lib / folder together with the natives (.so). I am currently using the decompiler to add (it works), but I was wondering if there is any way to package in the extension. I used @UsesNativeLibraries, but did not include the (.so) files in the .aix, until I tried to compile the apk, but I received the following error: ________Attaching native libraries. I decided to look in “/appinventor-sources/appinventor/buildserver/src/com/google/appinventor/buildserver/Compiler.java” where the native files should be, so I found the /files/ directory of the extension directory, then added the folders.
Directory /files/ of the extension:
When importing the extension I’m getting this error:
The extension ended with 14 mb. Trying to reduce the size, I replaced the natives (.so) with smaller ones and the extension changed to 3mb. The application has been successfully compiled. But the / lib / no apk directory was not created.
Apk directory:
How it should look: