If you put the library along the path file.apk:/lib/(arm64-v8a|x86|etc.)/libsun.so then it can be loaded using the following code:
const-string v0, "sun"
invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
How can I load a library from file.apk:/assets/libsun.so?