Closed pietroglyph closed 4 years ago
Actually, extra work was done specifically in order to be able to load it from external storage instead of packaging it with the artifact in order to prevent the RC APK from being bloated another 10MB, which can have a significant effect on wireless ADB deploy times.
Right now you instruct users to copy libOpenCvNative.so to a specific directory on the device and then you load the shared object from that specific path via
System.load
. This adds an extra step to the setup process, and I was wondering if there was any reason you don't place the shared object undersrc/main/jniLibs/{ABI TRIPLE}/
where it will be automatically included in the AAR?If there's no reason that this isn't being done then I'll go ahead and make a PR that packages the shared objects in this manner.