我尝试在将微型打印机的代码包含到我的项目中之前对其进行测试,但是我遇到此错误。
请任何人可以帮助我了解根本原因?
我注意到拉所有类型的abi。
谢谢。
D/dalvikvm: Trying to load lib /data/app-lib/qs.com.a3506demo-3/libPosApi.so 0x42590018
Added shared lib /data/app-lib/qs.com.a3506demo-3/libPosApi.so 0x42590018
V/PosApi: PosApi JNI_OnLoad ~~1.0.8 2017.09.29 1000!!
E/PosApi: openGpioDev->open failed!
V/PosApi: PosApi so load failed, ret:-1
W/dalvikvm: Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Landroid/posapi/PosApi;
D/AndroidRuntime: Shutting down VM
W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41fcebc0)
E/AndroidRuntime: FATAL EXCEPTION: main
Process: qs.com.a3506demo, PID: 32230
java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app-lib/qs.com.a3506demo-3/libPosApi.so"
at java.lang.Runtime.loadLibrary(Runtime.java:364)
at java.lang.System.loadLibrary(System.java:526)
at android.posapi.PosApi.<clinit>(PosApi.java:1080)
at com.qs.wiget.App.onCreate(App.java:34)