B4X FEED java.lang.UnsatisfiedLinkError ... couldn't find "libserial_port.so

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: java.lang.UnsatisfiedLinkError ... couldn't find \"libserial_port.so است. این موضوع تا کنون 89 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع java.lang.UnsatisfiedLinkError ... couldn't find \"libserial_port.so
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
89
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi guys,

I am trying to include native .so files in a Java library. Starting with the LameB4A project as example, I tried to do the same, see Wrapper.zip, but I cannot get it to work.
I have both tried the Simple Library Compiler as well as exporting directly from Eclipse.
I have tried placing the .so files under libs, under lib, under additional, and also under additional/lib.

I always get the same error:
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/flm.b4a.testdialogs-1/base.apk"],nativeLibraryDirectories=[/data/app/flm.b4a.testdialogs-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libserial_port.so"

I also tried copying the file to File.DirInternal, "lib/armeabi-v7a/libserial_port.so" (confirmed, File.Exists returns True for that path), but to no avail.

Any help greatly appreciated.

 

عقب
بالا