I am trying to use the ePOS-Print SDK for Android.
It works fine on ARM Devices. Just not on x86 Devices.
Is the Library only working on ARM Devices or is there a way to make it work on x86 Devices?
04-17 09:11:53.390 10989-12211/at.test.test E/art: dlopen("/data/app/test.test-2/lib/x86/libeposprint.so", RTLD_LAZY) failed: dlopen failed: "/data/app/at.test.test-2/lib/x86/libeposprint.so" has unexpected e_machine: 40
Process: at.calyx.calyxpos, PID: 10989
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/at.test.test/lib/x86/libeposprint.so" has unexpected e_machine: 40
at java.lang.Runtime.loadLibrary(Runtime.java:371)
at java.lang.System.loadLibrary(System.java:989)
at com.epson.eposprint.Builder.<clinit>(Builder.java:17)
I had a very similar error by trying to run an ARM app on Android x86. I was able to bypass it by installing libhoudini
:
Settings -> Apps Compatibility -> Enable Native Bridge
Alt-F1
)su -
cd ~
/system/bin/enable_nativebridge
logcat -T 10