1 Reply Latest reply on Apr 18, 2018 7:12 PM by Yuh Chang Kim

    FX9600 Android SDK

    Yuh Chang Kim

      Hello,

       

      I got the following error when running librfidapi32 libaries on android devices which is 64 bits,

       

      java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/sg.com.ptclogistics.www.cfx9600-1/lib/arm64/librfidapi32jni.so" is 32-bit instead of 64-bit

                                                                                           at java.lang.Runtime.loadLibrary0(Runtime.java:994)

                                                                                           at java.lang.System.loadLibrary(System.java:1533)

                                                                                           at com.mot.rfid.api3.API3Natives.<clinit>(API3Natives.java:2516)

                                                                                           at com.mot.rfid.api3.API3Natives.Connect(API3Natives.java)

                                                                                           at com.mot.rfid.api3.RFIDReader.connect(RFIDReader.java:375)

                                                                                           at sg.com.ptclogistics.www.cfx9600.MainActivity.onCreate(MainActivity.java:31)

                                                                                           at android.app.Activity.performCreate(Activity.java:6910)

                                                                                           at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)

                                                                                           at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2749)

                                                                                           at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2867)

                                                                                           at android.app.ActivityThread.-wrap12(ActivityThread.java)

                                                                                           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1570)

                                                                                           at android.os.Handler.dispatchMessage(Handler.java:105)

                                                                                           at android.os.Looper.loop(Looper.java:156)

                                                                                           at android.app.ActivityThread.main(ActivityThread.java:6595)

                                                                                           at java.lang.reflect.Method.invoke(Native Method)

                                                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)

                                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)

       

      and when i force devices to load it, i got the following error,

       

      java.lang.UnsatisfiedLinkError: dlopen failed: library "libpthread.so.0" not found

                                                                                           at java.lang.Runtime.loadLibrary0(Runtime.java:994)

                                                                                           at java.lang.System.loadLibrary(System.java:1533)

                                                                                           at com.mot.rfid.api3.API3Natives.<clinit>(API3Natives.java:2516)

                                                                                           at com.mot.rfid.api3.API3Natives.Connect(API3Natives.java)

                                                                                           at com.mot.rfid.api3.RFIDReader.connect(RFIDReader.java:375)

                                                                                           at sg.com.ptclogistics.www.cfx9600.MainActivity.onCreate(MainActivity.java:31)

                                                                                           at android.app.Activity.performCreate(Activity.java:6910)

                                                                                           at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)

                                                                                           at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2749)

                                                                                           at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2867)

                                                                                           at android.app.ActivityThread.-wrap12(ActivityThread.java)

                                                                                           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1570)

                                                                                           at android.os.Handler.dispatchMessage(Handler.java:105)

                                                                                           at android.os.Looper.loop(Looper.java:156)

                                                                                           at android.app.ActivityThread.main(ActivityThread.java:6595)

                                                                                           at java.lang.reflect.Method.invoke(Native Method)

                                                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)

                                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)

       

      Any advise on this?