A shared object file is loaded and used at runtime by the main application. You usually include .so files in your final application bundle from a Gradle dependency with an .aar file containing .so files:
When you bundle for Android and you have a dependency which includes a /jni folder with .so files we get them from the build server and include them in your .aab/.apk file. In .aab files the .so files are stored in /base/lib/PLATFORM/foobar.so:
You should be able to manually include .so files like you did by putting them in your extension in /res/android …
Although this looks a bit odd:
Shouldn’t it be:
/res/arm64-android/lib/arm64-v8a/libgadsme.so