'Android runtime lib change in libs folder

is it possible that application that uses a native library loaded with loadLibrary() updates its own .so file so the next time it starts uses a new downloaded native library version.

We prepack the android apk with included .so libs and sometimes only a part can be changed until a full release.

Can i download a .so lib and overwrite the one already in the installed apk ? Restart the app and loadlibrary will reload the new .so?

With kind regards!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source