I am using a third party library for printing purposes in my Kotlin Android app. I am getting this error when running the application and clicking the print button.
I have added the .so files in the jniLibs folder. Can anyone help me with this. I can share the project as well but you will need a physical printer from the company I am using this SDK from.
[![> Fatal Exception: java.lang.UnsatisfiedLinkError: No implementation
found for int com.icod.serial.SerialPort.native_open(java.lang.String, int, int, int) (tried Java_com_icod_serial_SerialPort_native_1open and Java_com_icod_serial_SerialPort_native_1open__Ljava_lang_String_2III) at com.icod.serial.SerialPort.native_open(SerialPort.java) at com.icod.serial.SerialPort.open(SerialPort.java:76) at com.szsicod.print.io.SerialAPI.openDevice(SerialAPI.java:36) at com.szsicod.print.escpos.PrinterAPI.connect(PrinterAPI.java:370) at com.tahreem.testmasungapplication.MainActivity.printIcod(MainActivity.kt:97)]
Image attached
The issue was fixed long time ago. Had to reimplement everything from scratch.
implementation 'id.zelory:cekrek:1.0.0'
And it worked like a charm.