Is due to the use of the three party jar, call the so file in a jar, he used approach is System. LoadLibrary (" MSC ");
My plan is, so the default file is not in the lib, need to download from the Internet, and then load the
Finally found System. The load so file (download) there is no problem, but System. LoadLibrary (" MSC ") there is an error when
Java. Lang. UnsatisfiedLinkError: dalvik. System. PathClassLoader [DexPathList [[zip file "/system/framework/org. Apache. HTTP. Legacy. The boot. The jar", zip file "/data/app/com. Ise. Myapplication - SqpBZp9IeaG1UnwZJKjjyQ==/base. The apk"], nativeLibraryDirectories=[/data/user/0/com. Ise. Myapplication/files/armeabi - v7a,/data/app/com. Ise. Myapplication - SqpBZp9IeaG1UnwZJKjjyQ==/lib/arm,/system/lib]]] couldn 't find "libmsc. So
"
Download the so file and the inside of the jar is a.so file, in theory there won't be problem
Could you tell me how to handle this situation?
CodePudding user response:
Need the load is the absolute path and the loadlibrary documentation required under the library pathCodePudding user response: